BoldDeskBoldDesk is now live on Product Hunt with a special offer: 50% off all plans. Let's grow together! Support us.
Hi Kenji,
Thank you for you interested in Syncfusion
products.
Query Check box in Grid
control |
We have analysed the reported query in our end. You can set
the cellType as checkbox for particular column using the below
code. if(e.ColIndex
== 2)
{
e.Style.CellType = "CheckBox";
e.Style.CellAppearance = GridCellAppearance.Raised;
e.Style.Enabled = true;
}
} Please refer the below UG links. http://help.syncfusion.com/ug/windows%20forms/grid/default.htm#!Documents/howtoputacheckboxina.htm http://help.syncfusion.com/ug/windows%20forms/grid/default.htm#!Documents/checkbox.htm |
Readonly for one
column |
We have a property “ReadOnly” to set the cells as
non-editable. Please refer the below codes. //
Changes cannot be made to the cell (1,1). this.gridControl1[1,1].ReadOnly
= true; Or use the query cell info event for this. private
void Model_QueryCellInfo(object sender,
GridQueryCellInfoEventArgs e)
{ if(e.ColIndex
> 2)
{
e.Style.ReadOnly = true;
}
} Please refer the below UG links. http://help.syncfusion.com/ug/windows%20forms/grid/default.htm#!Documents/howtomaketheparticul.htm http://help.syncfusion.com/ug/windows%20forms/grid/default.htm#!Documents/makingachangetoaread.htm |
Please let me know if you have any concerns.
Regards,
Vinish K.