Hi,
I need help with GGC and event SelectedRecordsChanged
My problem is, when I select range of cells, I want to sum value of those cells, like excel
- If I use
gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None;
=> event fired, but not what I desire, and value not sum
- If I use
gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.None;
gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.Any;
=> this is my desire, but event not fired, I have to click button for sum
I have attached sample code for you
Tks
Hi,
Can anyone help me ? If you confuse, just asking
Tks
Hi Hieudt,
Find the responses to your queries below.
Queries |
Responses |
|
- If I use gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended; gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None; => event fired, but not what I desire, and value not sum
|
The
reported scenario is not an issue. The SelectedRecordsChanging and SelectedRecordsChanged
events are triggered only when using the record-based selection. For further
details, we have created a new thread for the query, and the link is below. |
|
- If I use => this is my desire, but event not fired, I have to click button for sum |
|
Find the modified sample in the attachment.
Regards,
Vijayarasan S
If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.