Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
checkbox edit problem
posted

Hi,

I have added one checkbox column to ultragrid dynamically. But the problem i am facing is that these checkbox are not in editable mode. Actually what i want is need to check some of the checkboxes and save only the selected checkbox rows. The code i wrote to add checkbox is

                ldt_Temp = ads_eventDEtails.Tables["HCP"];
                ldt_Temp.Columns.Add("Remove", typeof(Bitmap));
                ldt_Temp.Columns.Add("Select", typeof(bool));

                utgd_hcpgridinfosmry.DataSource = ldt_Temp;
               utgd_hcpgridinfosmry.DisplayLayout.Bands[0].Columns["Select"].Style =                       Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
                utgd_hcpgridinfosmry.DisplayLayout.Bands[0].Columns["Select"].CellActivation = Infragistics.Win.UltraWinGrid.Activation.AllowEdit;

 

Kindly let me know where i am wrong.....its urgent