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 am using following code to make whole column as checkbox.
Code:
[sfgDetailedHistory = gridcontrol]
this.sfgDetailedHistory.ColStyles[(int)detailedHistoryCols.chkColumn].CellType = "CheckBox";
this.sfgDetailedHistory.ColStyles[(int)detailedHistoryCols.chkColumn].CheckBoxOptions.CheckedValue = "true";
this.sfgDetailedHistory.ColStyles[(int)detailedHistoryCols.chkColumn].CheckBoxOptions.UncheckedValue = "false";
this.sfgDetailedHistory.ColStyles[(int)detailedHistoryCols.chkColumn].CellValueType = typeof(bool);
if checkbox is checked i want to change the whole row color.If it is unchecked i want to set old color back.
Please give me an event and sample code for that with out painting/repainting problem.
Thanks, Anna
ADAdministrator Syncfusion Team July 7, 2005 09:18 AM UTC
You can use PrepareViewStyleInfo to colntrol teh color and CurrentCellChanged to trigger teh redraw.
http://www.syncfusion.com/Support/user/uploads/GC_CheckBoxColumn_6b6a5110.zip
ASAnna Srinivasan July 7, 2005 12:46 PM UTC
Hi,
The example zip removed from the corresponding or not.
B'' cause i am getting message like ''page canot be displayed.
Help me....!
ADAdministrator Syncfusion Team July 7, 2005 01:50 PM UTC
Try this link.
http://www.syncfusion.com/Support/user/uploads/GC_CheckBoxColumn_efdf431a.zip