In whdg load on demand. If there are 10 rows 5 columns and i need to hide the 1st row's 1st column, how do i achieve this?
Example if all the rows' 1st column contains an edit image button and i want to make sure that the first row is not editable, how can i do this?
I think i got it. In InitializeRow event add:
e.Row.Items.FindItemByKey("MyColumn").Column.Hidden = true;
var img = ((ImageButton)e.Row.Items.FindItemByKey("MyColumn").FindControl("MyItem"));
img.Visible =false;
That would be one way to do it. There is no way to hide a cell in just one column. Either the column is visible or it is not. And currently, there is no manual merging of cells in the grid horizontally.
regards,
David Young