function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jaishrijaishri 

I want to hide the previous button in first page & next button in last page in datatable anyone know how can we achieve this ....................

PriyaPriya (Salesforce Developers) 

Hi jaishri,

You have to disable that command button. This seems to be the concept of pagination. 

Kindlry refer the below links where it has shown how to disable the command button :- 
https://developer.salesforce.com/forums/?id=9060G0000005rPFQAY

Kindly mark it as the best answer if it helps.

Regards,

Priya Ranjan