Server-side datatable empty by default possible ?

Server-side datatable empty by default possible ?

MioMio Posts: 2Questions: 0Answers: 0
edited May 2012 in General
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 !

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    I was just about to suggest iDeferLoading and then saw your edit :-). Good to hear you are enjoying using DataTables!

    Regards,
    Allan
This discussion has been closed.