Text Property of SfDataGrid not working as expected

Hi everybody,

   I am trying to transfer an Infragistics DataGrid UserControl to an SfDataGrid UserControl. In Infragistics you can use the text property of the grid to show a caption containing some table information like number of groups  / rows and name of the saved layout or any other text. (see attached jpg). How can I achieve this with SfDataGrid using a dynamically generated datatable (AutoGenerateColumns = true). Using the text property of SfDataGrid does not seem work. The entered string is not shown anywhere.

   TIA

      regards

          Uwe



Attachment: Infra_Grid_Text_Property_579de99.zip

2 Replies

CM Chidanand Murugaiah Syncfusion Team October 18, 2023 12:40 PM UTC

Hi Uwe Hein,

 

Unfortunately, we do not have direct support for your requirement. If you want to add a caption row above the SfDataGrid, you can achieve this by using a label or textblock.

 

Regards,

Chidanand M.



UH Uwe Hein replied to Chidanand Murugaiah October 18, 2023 12:42 PM UTC

Hi Chidanand Murugaiah,

   thank you

     regards

       Uwe



Loader.
Up arrow icon