Serverside and DT_RowId

Serverside and DT_RowId

tangerinetangerine Posts: 3,365Questions: 39Answers: 395
edited April 2014 in DataTables 1.10
[quote]... By assigning the ID you want to apply to each row using the property DT_RowId of the data source object for each row, DataTables will automatically add it for you. Likewise there is a DT_RowClass...[/quote]

Is there a working example of this somewhere? I can't find "scripts/id.php", from the server-side examples.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    1.9.4:
    Example: http://datatables.net/release-datatables/examples/server_side/ids.html
    Script: https://github.com/DataTables/DataTables/blob/1_9/examples/server_side/scripts/id.php

    1.10:
    Example: http://next.datatables.net/examples/server_side/ids.html
    Script: https://github.com/DataTables/DataTablesSrc/blob/master/examples/server_side/scripts/ids-objects.php

    Allan
  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Excellent, many thanks!
  • noehccnoehcc Posts: 2Questions: 1Answers: 0

    lels
    ids.php not id.php
    zzzzz

This discussion has been closed.