Hello. could you watch this code?It works ,But cant check checkbox.It is not active.Despite I activated.And check column datatype is boolean.
private void besGrid2_InitializeLayout(object sender, InitializeLayoutEventArgs e){DataTable dtb = new DataTable();dtb.Columns.Add("ID", typeof(Int32));dtb.Columns.Add("Text", typeof(string));dtb.Columns.Add("Check",typeof(bool));dtb.Rows.Add(new object[] { 1, "A" });dtb.Rows.Add(new object[] { 2, "B" });e.Layout.Bands[0].Columns[2].Style = ColumnStyle.CheckBox;e.Layout.Bands[0].Columns[2].CellActivation = Activation.AllowEdit;e.Layout.Bands[0].Columns[2].CellClickAction = CellClickAction.Edit;this.besGrid2.DataSource = dtb;}
Hello Ilkin,
I made small sample for you using your code. Could you please take a look at the attached sample and let me know if you have any questions.
Regards
Hello Georgi.
I need checked first grid rows appear in second grid.to add second ultragrid.any idea?
thanks