Disable Current Page displayed in datatable pagination
Disable Current Page displayed in datatable pagination
pradeepkanth
Posts: 1Questions: 0Answers: 0
Hi,
I have a requirement where I need to disable (on click) the current page number in the data table pagination. I have a logic which is fired on the click event of each page number. The logic is to clear the form content if the user navigates to other page. Now, when the user clicks the same page number he is in, the form is getting cleared which is not expected.
I tried adding anchor property "disabled" in the class attribute still no help. Any quick suggestions on this please?
Thanks
krisp
I have a requirement where I need to disable (on click) the current page number in the data table pagination. I have a logic which is fired on the click event of each page number. The logic is to clear the form content if the user navigates to other page. Now, when the user clicks the same page number he is in, the form is getting cleared which is not expected.
I tried adding anchor property "disabled" in the class attribute still no help. Any quick suggestions on this please?
Thanks
krisp
This discussion has been closed.