how to get value of spicfied tablesummaryrow

I want to get the value of the table summary row.


I have 2 table summary rows so I need the value the the second row has included.


4 Replies

MO Mohamad July 8, 2024 12:37 AM UTC

?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??



GS Gokul S Subramani Syncfusion Team July 8, 2024 12:23 PM UTC

Hi Mohamad,

You can retrieve the values of the TableSummaryRows by using the index. Please refer to the KB link below for more information.

Additionally, let us know if you need any further assistance. We will be happy to help.


KB Link-> How to get the summary row value from Windows Forms DataGrid(SfDataGrid)? (syncfusion.com)


Thank you for your cooperation


Regards,
Gokul S



MO Mohamad July 8, 2024 01:19 PM UTC

ok thanks

but how to change the style of one of the tablesummaryrows according to some rules?



GS Gokul S Subramani Syncfusion Team July 9, 2024 02:32 PM UTC

Hi Mohamad,

Your requirement for 'Conditional Styling for the TableSummaryRow' can be achieved by handling the SfDataGrid.DrawCell event. You can refer to our online user guide documentation below.


UG Link-> Conditional Styling in WinForms DataGrid Control | Syncfusion


We hope this helps. Please let us know if you need any further assistance.


Regards,
Gokul S


Loader.
Up arrow icon