>How do you disable certain cells in a grid without disabling the whole column? Depending upon certain condition, I need for each row/record to have certain column(s) disabled for dataentry.
>
>For example, if I have 5 columns with 2 records/rows, I want to disable column 3 for the first record but disable column 5 in second record. IOW, each record/row can have different columns disabled.
>
>TIA.
You may add two controls (textboxes) to each column, one is permanently enabled and another- disabled. Then you will use Column.DynamicCurrentControl to 'enable/disable' cells (property expression will be based on some record field value).
Edward Pikman
Independent Consultant