Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

DataTable sort is not working


Hi, I'm using latest (9.3.1) version of metronic, but I notice that datatable sorting is not working anymore.

I don't think it's ktui issue since I tried on ktui website is working. I also debug it for few times, but no results. the event attached and yet the click isn't working.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)


Hi L Shaf

Please check the examples here.

https://github.com/keenthemes/ktui/tree/main/examples/datatable

May I know if you use a local or remote data source?

Thanks



Hi L Shaf

Make sure the ktui version is the latest, check your package.json.

"@keenthemes/ktui": "^1.0.24",


Run command to rebuild,
<pre>
npm install -f
npm run build
<pre>

Let us know if you still have issues.

Thanks



I did, i copy from themeforest and build



it doesn't work yet. I think something need to be fixed on metronic side. since KTUI demo seems still working.
And metronic demo website not working either.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(