Hi All,
First of great grid component!
I would like to ask a few questions regarding the deployment of the grid if you dont mind!?
1. If i have a grid with 5 columns; having the first 3 as readonly and the last 2 as simple editors. Can i using the tab move from column 4 and 5 and after that go directly to the next row on column 4 and 5? Currently the tabbing is working but it moves from Cell to Cell even though they are read only?
2. How can i center the checkboxes on a cell?
Thanks for your time and help
NF
>>1. If i have a grid with 5 columns; having the first 3 as readonly and th
In current version such behaviour can’t be controled by API ( we planing to add tab order in oncoming version )
In current version it can be done by next code adjustment.
The grid has next functions
_getPrevCell
_getNextCell
to detect next,prev cell while tabbing
As fast solution you can locate next code
if (acell.style.display!=“none”)
return acell;
return this._getNextCell(acell);
and replace it with
if ((acell.style.display!=“none”)&&(!this.cells4(acell).isDisabled()))
return acell;
return this._getNextCell(acell);
>>How can i center the checkboxes on a cell?
a) you can center whole column with checkboxes
grid.setColAlign(…
Thanks for your answers! i will have a go at them this evening.
I’ve tried setting the setColAlign to center but it did not work…am i doing something wrong?
Regards
N F