Populating a datatable from an ajax source starting at column index 1

Populating a datatable from an ajax source starting at column index 1

bluemugsybluemugsy Posts: 1Questions: 1Answers: 0

Hello. I have a datatable that pulls its data from an ajax source url. I also have the Select extension enabled and would like to reserve the very first column(index 0) for checkboxes. However, currently the data is entered into the table starting at index 0. Is there a configuration option for the columns where it will fill the cells starting at the second column?

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Sounds like you want something like this. You just need an extra column in the HTML, and then use that in the columns declaration.

    Colin

This discussion has been closed.