when i'm sort order why template does not re render
when i'm sort order why template does not re render
const columns = [
{ title: "Id", data: "Id", className: "min-width", },
{ title: "ExamSetupId", data: "ExamSetupId", className: "min-width"},
{ title: "ExamSetupCode", data: "ExamSetupCode", className: "min-width",render: '#ExamSetupCode' },
{ title: 'ExamSetupEnglishName', data: "ExamSetupEnglishName", className: "all min-width"},
{ title: "GradingSystem", data: 'GradingSystemCode', className: "min-width", render: '#GradingSystemCode' },
{ title: "CourseLength"), data: "CourseLength", className: "min-width",},
];
This question has an accepted answers - jump to answer
Answers
Too bad I don't understand what the problem is. Even though mind reading was on my list of good intentions for 2025!
Perhaps you could explain your problem in more detail. Ideally, you should provide a test case, as per the forum rules. Thank you.
when i use DataTable vue component slot with ajax and then i am sort order "asc" or "desc" but slot is not draw again
This ajax loaded example, from this blog, sorts properly. It will be difficult to debug without seeing the issue as there are many reasons sorting might not work. Are you able to replicate the issue using Stackblitz?
If you are unable to provide a test case then please provide more information about your environment?
Kevin