i want fetch last row data of gridview , accordingly change colour of each cell depending on value. appreciated.thank in advanced.
if "last row" means footer:
gridviewrow footer = grid.footerrow;
otherwise:
gridviewrow lastrow = grid.rows.cast<gridviewrow>().last();
now can loop lastrow.cells
or use lastrow.dataitem
if databound recently.
Comments
Post a Comment