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.
Hi,
I have an requirement where each cell of a row has different behavior (cell type, read-only, color..) based on the values of some other cell. I am thinking of using gridranginfo object in GDBG to define my row. Each row will be a gridrangeinfo object.
Is there a sample for creating GDBG using gridrangeinfo object?
Or there is better way to achieve that.
Please help.
Thanks,
Ron
ADAdministrator Syncfusion Team October 28, 2005 10:24 PM UTC
If you want to set cell specific properties in a GridDataBoundGrid, then you will have to handle an event like grid.Model.QueryCellInfo. There, you can use e.RowIndex and e.ColIndex to identify the cell on which you are being asked to set properties. Then, based on whatever criteria you want to use, you can set properties on e.Style to specify the look and behavior of the cell at e.RowIndex and e.ColIndex.
You can do a search for QueryCellInfo in teh grid KB to see several samples using this event including this particular KB.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=95