I have this code for searching through grid and putting a result into
another grid where I defined a checkBox.
Line with mark * is where I need to define where in gridGroups row I have to
put a checkBoxValue = true.
void ColumnDrawGroup sChecked (
Syncfusion.Wind ows.Forms.Grid. GridStyleInfo gridStyle, System.Data.Dat aRow
row )
{
gridStyle.CellT ype = "CheckBox";
gridStyle.CellV alueType = typeof(bool);
DataSetAccounts .UsersRow rowGroups =
GetSelectedRow( gridUsers.Grid ) as DataSetAccounts .UsersRow;
if ( rowGroups != null )
{
DataSetAccounts .GroupsRow rowGroup =
rowGroups.GetPa rentRow( "GroupsUsersGro ups" ) as DataSetAccounts .GroupsRow ;
if ( rowGroup != null )
{
* Here I need to determine where to put CellValue to true
gridStyle.CellV alue = true;
}
}
}
Hrcko
another grid where I defined a checkBox.
Line with mark * is where I need to define where in gridGroups row I have to
put a checkBoxValue = true.
void ColumnDrawGroup sChecked (
Syncfusion.Wind ows.Forms.Grid. GridStyleInfo gridStyle, System.Data.Dat aRow
row )
{
gridStyle.CellT ype = "CheckBox";
gridStyle.CellV alueType = typeof(bool);
DataSetAccounts .UsersRow rowGroups =
GetSelectedRow( gridUsers.Grid ) as DataSetAccounts .UsersRow;
if ( rowGroups != null )
{
DataSetAccounts .GroupsRow rowGroup =
rowGroups.GetPa rentRow( "GroupsUsersGro ups" ) as DataSetAccounts .GroupsRow ;
if ( rowGroup != null )
{
* Here I need to determine where to put CellValue to true
gridStyle.CellV alue = true;
}
}
}
Hrcko
Comment