Force page

Force page

psycholibripsycholibri Posts: 1Questions: 0Answers: 0
edited August 2010 in General
Hi

I need to force the page at the initialization of the table. However, I tried with the iDisplayStart property

[code]oTable=$('#tab_MA').dataTable( {
"bServerSide": true,
"sDom": '<"tab-nav"<"pager"lip>>rt<"clear">',
"sAjaxSource": "home_ajax",
"iDisplayStart": 10,
"iDisplayLength": 10,
[/code]

, but I see that the ajax link used to get the json doesn't have the good value...

[code]http://.../home_ajax?sEcho=1&iColumns=6&sColumns=&iDisplayStart=0&iDisplayLength=10...[/code]


Have you ever met such difficulties ?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    What version of DataTables are you using? There was an issue prior to 1.7 which caused exactly what I believe you are seeing. Try upgrading to 1.7 is you aren't using it already and let us know what happens!

    Allan
This discussion has been closed.