I saw this post (https://ko.infragistics.com/community/forums/f/retired-products-and-controls/53503/enabling-individual-checkbox-cell-s-in-webgrid/276918#276918) about checkboxes, however, the example that is mentioned to be attached, does not appear to be attached any longer. Can we get another sample of this?
Also, is there a way that you can access any other cells other than the adjacent cell? We need to be able to disable/mark as readonly other cells in that row beyond the adjacent cell? We will not know where the other columns will be as the user can move things around, so we would need to find them via the column key and be able to edit that cell or make it readonly or enabled based on the current columns values.
We are using the WebDataGrid in 2011v1.2116.
I looked in the WebDataGrid1_RowUpdated and WebDataGrid1_InitializeRow events but the objects you could get did not seem to have a way to get to cell's enabled/disabled property.
Additionally how do we get that row's cell's initial value into a data column that is to be unbound since there is no direct connection to a datasource field.
For example, if the field we need is StatusId, but it needs to be updatable based on the value changed in OrderDate. StatusId is stored in the DB. When I pull the initial StatusId value, how do I get the initial value into the StatusId unbound column? Then once I have that value, and the OrderDate is updated later that causes the StatusId to change value, how do I get it back into the DB.
I can see how that might work.
I am assuming that on RowUpdate of the Unit Price or Units on Order, you could then recalc the Total field. But if this value is to be stored, for whatever reason, in the DB, since it is not "bound", how would it get updated to reflect the changes in the dataset so that it can be saved back to the DB? Also can you enable/disable (allow edits/readonly) Unbound columns on RowUpdate? Will the changes to the Unbound columns show up at all when you call GetChanges() of the Grid Datasource?