i am able to retrieve a list of selected records in a GGC via: Me.ggc.TableModel.SelectedRanges
but apparently it only unselect the selected rows. how do i delete the records from the ggc instead of unselecting?
ADAdministrator Syncfusion Team January 5, 2005 03:00 AM
You can try using
Or, you can work directly with your datasource and use methods on it to delete its records.
With the 3010 code base, if you use the new record selection support,
this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None;
then this button handler will delete the selected records.
private void button2_Click(object sender, System.EventArgs e)
foreach(SelectedRecord r in this.gridGroupingControl1.Table.SelectedRecords)
LALanceJanuary 5, 2005 11:01 PM
i am currently developing in 2109. i tried to use this.gridGroupingControl1.Table.DeleteRecord. however, how do i retrieve a list of selected records from the ggc?
ADAdministrator Syncfusion Team January 6, 2005 03:23 AM