Add css property Id

For the RadzenDataGridColumn element I have added css property 'id' which is causing an error in the UI
Please let me know how can we add css property 'id' in the RadzenDataGridColumn tag.

Below is the line of code how 'id' has been added. But its breaking UI.

RadzenDataGridColumn TItem="SampleItemViewModel" Title="@DisplayColumnViewModel.DisplayColumns[3].ColumnName" Property="Item.RunDuration" Width="200px" Visible="@DisplayColumnViewModel.DisplayColumns[3].IsSelected" id="RunDuration"

Hi @Anjali_Menon,

I couldn't understand what you are asking.

Why?

How?

@korchev I have recreated the question. could you please look into it.

Still not sure what "breaking the UI" means.

On adding the css property Id I get the below error

Yes, RadzenDataGridColumn doesn't have an ID property and doesn't support custom attributes.

1 Like