After I bind a grid to a datatable, I have the need to have the name property of each cell to be set uniquely (I just want to label each one something like ” ‘Cell’ + ‘RowNum’ + ‘ColNum'”) This really because when a cell is clicked and becomes a text box, I want the text box to be named, AND I WOULD EXPECT?? that the text box inherits the name of it’s parent cell (tell me if not).
I can’t figure out from the documentation how to iterate over each cell from the ExceedGrid object. I did a search and found some documentation for custom cell editors, but I can’t imagine it being this complicated.
Imported from legacy forums. Posted by ctek (had 424 views)
I’m not sure I understand your need, there is no “automated” way to achieve this. Also consider that the cells that are not visually displayed on the screens are being virtualized (not really generated until needed). Your approach would no really work with our product.
To iterate through the grids rows however, you will need to work with DataGridControl.Items collection.
Imported from legacy forums. Posted by Matt (had 354 views)