You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecating CellStyle and CellClass at the DataGridColumn level in favor of CellStyling at the DataGrid level seems pretty inconvenient for simple cases like just disabling line wrapping for a particular column. The CellStyling lambda provides a DataGrid column which I guess theoretically could be used to find the column that I want to apply the style/class to, but how? Some columns have a Field property that I guess you could use, but it's not required, and my command columns will definitely not have it. If there were an ordinal property it would help, but we don't currently get that. Worse if I have 2 or more columns that I want to apply a CellStyle or a CellClass to now I have to write a switch statement or something which will be really ugly. I can imagine CellStyling could be very useful and powerful in certain circumstances, but please consider making it's use optional for simpler cases by undeprecating CellStyle and CellClass.
The text was updated successfully, but these errors were encountered:
Deprecating CellStyle and CellClass at the DataGridColumn level in favor of CellStyling at the DataGrid level seems pretty inconvenient for simple cases like just disabling line wrapping for a particular column. The CellStyling lambda provides a DataGrid column which I guess theoretically could be used to find the column that I want to apply the style/class to, but how? Some columns have a Field property that I guess you could use, but it's not required, and my command columns will definitely not have it. If there were an ordinal property it would help, but we don't currently get that. Worse if I have 2 or more columns that I want to apply a CellStyle or a CellClass to now I have to write a switch statement or something which will be really ugly. I can imagine CellStyling could be very useful and powerful in certain circumstances, but please consider making it's use optional for simpler cases by undeprecating CellStyle and CellClass.
The text was updated successfully, but these errors were encountered: