The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team July 26, 2006 09:15 AM UTC
Hi Wirawan,
You cannnot set any cell or row specific properties for the GridDataBoundGrid other than the CellValue. You need to handle the PrepareViewStyleInfo (or Model.QueryCellInfo) Event to do this. Through this event handler you can set the style properties for any specific cells in the grid.
For your scenario, try handling the Model.QueryCellInfo event, there check for the e.RowIndex and e.ColIndex, if that points to the desired cell you needed, set e.style.Tag there.
Thanks, Rajagopal
IGI Gusti Ngurah WirawanJuly 26, 2006 10:26 AM UTC
Thanks for the quick answer.
But in my condition i can''t do that by setting tag value in PrepareViewStyleInfo (or Model.QueryCellInfo). Are there another way to do that?
Regards, Wirawan
ADAdministrator Syncfusion Team July 26, 2006 12:54 PM UTC
Hi Wirawan,
Its not possible to do this other than handling the events(Model.QueryCellInfo) for a DataBoundGrid. You can try having a HashTable to store the object, with row and column index as the key.