We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Is there a way to give a Grid a Heading?

Currently, I have a hardcoded h4 as a title for a datagrid. However, I created a new table using entity framework that holds different table names for different grids I have in my app. Is there a way to include something above the grid that will GET the table name for that grid? Also, I would like this table name to be configurable, so a PUT request will be needed as well,


2 Replies

SP Sarveswaran Palani Syncfusion Team December 15, 2022 02:37 AM UTC

Hi Jose,  


We are currently Validating the reported query at our end, and we will update the further details shortly. Until then we appreciate your patience.


Regards,

Sarvesh




SP Sarveswaran Palani Syncfusion Team December 19, 2022 03:52 AM UTC

Hi Jose,

From your query, we suspect that you want to set Grid table Heading for different table. So, we suggest you to use custom component for rendering Grid Heading in different table and in different razor pages. Kindly refer the attached sample for your reference. If we misunderstood your query, kindly share more details about your requirement. It’ll help us to provide solution as early as possible. 

Regards,
Sarvesh


                                                                                                                                       


Attachment: SfGridHeaderComponent_7eb4bd0b.zip

Loader.
Up arrow icon