Regarding Enable/ Disable Some Options in Datatable when no records
Regarding Enable/ Disable Some Options in Datatable when no records
Hi Team,
Good Morning.
I need a quick help regarding enabling/ disabling export xls/export pdf and print buttons when no records available in table and also disable pagination. Is there any way to do that?
And also can we show inbuilt loader before result loaded in table.
Thanks & Regards,
Amrit A.
This discussion has been closed.
Replies
Hi @amrit_486 ,
Yep, you can disable buttons with the
button().disable()method. You could call that in an event, such asinitif static data orxhrif loading via Ajax.I'm not sure what you mean by showing the "inbuilt loader", sorry.
Cheers,
Colin