|
Rank: Member Groups: Member
Joined: 1/5/2009 Posts: 27
|
I've got a EO.Grid, that is filled via sql-request. It's possible to set the color of a selected cell via javascript? FullRowMode is true.
function gridColor() { //Get the grid object var grid = eo_GetObject("Grid2"); var datagridrow = grid.getItem(4); var datagridcell = datagridrow.getCell(3);
// works ************** //alert(datagridcell.getValue()); // works **************
//Change background-color of cell datagridcell.backgroundColor = 'black'; }
As a test the function reports the error "object doesn't support this property or method.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,358
|
Unfortunately no. I do not think you can do that in the current version. Hopefully we can add this in the future version though.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 1/5/2009 Posts: 27
|
Thanks for the reply. I come now to respond. it would be nice to have this feature, since I've used it often.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,358
|
Hi,
This is still not implemented yet. Sorry about it!
Thanks!
|
|