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 the Enabled property of certain cells set to False. What I want to achieve is when a click is registered on any of these ''disabled'' cells, a message is shown on the status bar.
In the CellClick event handler, I do the following:
if (!grid[e.RowIndex, e.ColIndex].Enabled)
{
// take action
}
What i see is the Enabled property is always true even though actually it is set to false. (I am setting it to false in the PrepareViewStyleInfo event handler).
What may I be doing wrong here?
Thanks a lot for your support!!
ADAdministrator Syncfusion Team May 19, 2005 05:59 PM UTC
You need to use grid.Model.QueryCellInfo to set a property like Enabled. See this KB for ReadOnly, but Enabled is similar. http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=95