The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
How can I change the backColor of the Captions(GroupedRowHeaders) of the GridGroupingControl after grouping when I click on them with SHIFT key - to select several captions.
How can I change the backColor of the Captions(GroupedRowHeaders) of the GridGroupingControl after grouping when I click on them with SHIFT key - to select several captions.
How can I change the color of the Captions(GroupedRowHeaders) of the GridGroupingControl after grouping when I click on them with SHIFT key - to select several captions. And this captions is not expanded and the event TableControlCellClick raises only for first Caption and for the last caption from selected group when I click on it with SHIFT key!!!
So if we have such captions
A1 A2 A3 A4 A5
and I select (click) A1 and with SHIFT key click(select) A4 - so the event is raising TableControlCellClick only for A1 and A4 caption clicks!!!
The event SelectedRecordsChanged cant help me!!!
I know how to chage backColor - I have a handler: private void clientGridControl_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e) { //if (clientGridControl.TableControl != null) //{ // if (e.TableCellIdentity.RowIndex == 4 && e.TableCellIdentity.ColIndex == 2) // { // //GridTableCellStyleInfo style = clientGridControl.TableControl.Model[4, 2]; // //Element el = style.TableCellIdentity.DisplayElement;
ADAdministrator Syncfusion Team November 13, 2006 12:48 PM UTC
Hi Alexander ,
Please refer to the below forum threads for changing CaptionCell Backcolor. http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=31249 http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=31325
Best Regards, Haneef
ALAlexanderNovember 13, 2006 01:03 PM UTC
Thanks, but this links didn't help me!!!! I said that I know how to change the color and in my application it work good even if we click on the captions with Ctrl button -> but I need to select the group of the captions with SHIFT key!!!
*** How I can get a collection of selected Captions(not expanded) with SHIFT key!!!! ***
ADAdministrator Syncfusion Team November 14, 2006 10:06 AM UTC
Hi Alexander,
Try setting the TableOptions.AllowSelection property to GridSelectionFlags.Any and set the add the selected range using TableModel.Selections.Add method. Please refer to the attached sample for implementation and let us know if you are looking something different.