Set data starting from index 1
Set data starting from index 1
hernan84
Posts: 7Questions: 0Answers: 0
Starting from the fact that my html table has 2 more columns than the server-side data in a way to have a first column for row number and a last one for "action" button, I want to set the first data value index=0 on my second table column target=1 therefore I wouldn't loose the first data value on my number column.
What is the good way to make this work??
PS: Hope I explained it well
What is the good way to make this work??
PS: Hope I explained it well
This discussion has been closed.
Replies
So I only had to add a ' ' value to the columns array and that's it.
[code]
$aColumns = array( ' '
, 'a'
, 'b'
, 'c'
, 'd);
[/code]
Allan