Header Text
I am knew to this Grid and trying to stumble through it. How can I set a main header on the grid to match as follows? See attached.
Attachment: grid_d1278bb6.7z
Attachment: grid_d1278bb6.7z
SIGN IN To post a reply.
5 Replies
VS
Vijayarasan Sivanandham
Syncfusion Team
March 2, 2020 11:39 AM UTC
Hi Kim
Dobranski,
Thank you for contacting Syncfusion support.
We have analyzed your query. Your requirement can be achieved by adding the
stacked header to SfDataGrid. You can set multi-column headers in
SfDataGrid by using SfDataGrid.StackedHeadersRows property.
Please find sample for the same from the link below,
Sample Link: https://www.syncfusion.com/downloads/support/forum/152031/ze/Sample810340469
Please refer to the below UG link to know more details on using
StackedHeaderRows in SfDataGrid,
UG Link: https://help.syncfusion.com/windowsforms/datagrid/columns#stacked-headers
We hope this helps. Please let us
know, if you require further assistance on this.
Regards,
Vijayarasan S
KD
Kim Dobranski
March 6, 2020 07:01 AM UTC
Thanks,
Is it possible to do this at design time?
VS
Vijayarasan Sivanandham
Syncfusion Team
March 10, 2020 12:56 PM UTC
Hi Kim Dobranski,
Thank you for your update.
We have provide the support for add the StackedHeader in designer. But we have some limitation, could you please share the below details, this will help us to provide the solution
Thank you for your update.
We have provide the support for add the StackedHeader in designer. But we have some limitation, could you please share the below details, this will help us to provide the solution
1. You have added the GridColumns through designer or code behind?
2. You have set the SfDataGrid.DataSource through designer or code behind?
Regards,
Vijayarasan S
KD
Kim Dobranski
March 12, 2020 06:50 PM UTC
Hi you can close this and disregard. I have decided to go with a different grid control.
FP
Farjana Parveen Ayubb
Syncfusion Team
March 13, 2020 12:40 PM UTC
Hi Kim,
Sorry for the inconvenience caused.
We have support to add StackedHeader through designer in SfDataGrid, when the columns are manually generated through designer. But we are having issue and we logged the bug report for this and could you please share your Syncfusion version that will help us to provide the patch in your version.
Feedback link: https://www.syncfusion.com/feedback/12722/argumentoutofrangeexception-occurs-when-we-adding-the-stackedheader-via-designer
SfDataGrid doesn't support adding StackedHeader through design if the columns are auto-generated, because child columns for the StackedHeader will not be available and it will only generated while executing the application.
Could you please share the reason for choosing other grid control? We will make every effort to provide the solution for all your queries.
Regards,
Farjana Parveen A
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
KD Kim Dobranski
- Feb 29, 2020 12:53 AM UTC
- Mar 13, 2020 12:40 PM UTC