Server-side datatable empty by default possible ?
Server-side datatable empty by default possible ?
Hi !
I implemented a datatable that has a server-side data source. There is also a filter that alters the parameters in aoData.
What I need is to show the table with all the widgets and the oLanguage.sEmptyTable inside the table without making a server-side request. Only after selecting a filter criteria should the datatable display data.
Would this be possible ?
The reason for this is to avoid a default resource-consuming server-side query that could prove useless and still keep the look&feel of the datatable on page load.
Thank you !
-------------------------------
Later edit:
Turns out I did not look carefully enough.
iDeferLoading does exactly what I need.
Seems like DataTables doesn't stop surprising me. Really nice plugin !
I implemented a datatable that has a server-side data source. There is also a filter that alters the parameters in aoData.
What I need is to show the table with all the widgets and the oLanguage.sEmptyTable inside the table without making a server-side request. Only after selecting a filter criteria should the datatable display data.
Would this be possible ?
The reason for this is to avoid a default resource-consuming server-side query that could prove useless and still keep the look&feel of the datatable on page load.
Thank you !
-------------------------------
Later edit:
Turns out I did not look carefully enough.
iDeferLoading does exactly what I need.
Seems like DataTables doesn't stop surprising me. Really nice plugin !
This discussion has been closed.
Replies
Regards,
Allan