w2grid.prevCell

Returns previous cell or null if it is first cell in the row.
prevCell(col_ind, editable)
col_ind integer, column index
editable boolean, indicates
Returns integer or null.

Description

The first argument col_ind is the index in the .columns array.
If you have grid defined in the following way: You can do:

User Comments

comments powered by Disqus