data-order='[[1,"desc" ]]' not work for all user_role and show 100+ data. It work only user_role =1

data-order='[[1,"desc" ]]' not work for all user_role and show 100+ data. It work only user_role =1

NurulproNurulpro Posts: 9Questions: 4Answers: 0

Hello there. I used data-order='[[1,"desc" ]]' and data-page-length='100' for all user . it work only user_ role 1 but no work other user when other user login it's show asc orer and 100+(all data) please help.

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    DataTables doesn't have any concept of users or roles, so that'll be something in how you're initialising it.

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • NurulproNurulpro Posts: 9Questions: 4Answers: 0

    the fix is solved thanks .

Sign In or Register to comment.