No matching records found
No matching records found
nskwortsow
Posts: 120Questions: 0Answers: 0
Hi,
1) How can I customise the text "No matching records found"
2) Which event is fired when data tables is loaded with 0 records? I want to show/hide a div or modal on this event.
N
1) How can I customise the text "No matching records found"
2) Which event is fired when data tables is loaded with 0 records? I want to show/hide a div or modal on this event.
N
This discussion has been closed.
Replies
DT_RowId: "row_2"
PActive: "1"
PEmail: "x"
PMobilePhone: "1 555 555 5555"
PNameF: "x"
PNameL: "x"
PYOB: "1983"
>>>> RECORD HERE tblPatientProtocols: {PName:Nate test, PCreationDate:2012-11-12 13:02:17}
DT_RowId: "row_3"
PActive: "1"
PEmail: "x"
PMobilePhone: "1 555 555 5555"
PNameF: "x"
PNameL: "x"
PYOB: "1977"
>>>> NO RECORDS HERE tblPatientProtocols: {}
2. There is no specific event for just that one case, but there are a number of ways to detected it - fnInitComplete the way I would suggest you do it. In that call back you can just check to see if the table has data or not: http://live.datatables.net/ofohut/edit#javascript,html
Allan