BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi
Sanjhi,
Thanks
for contacting support.
We
have analyzed your requirement and found that you can
achieve this by setting the minimum width based on your header text length in
GridLoaded event.
We
have prepared a sample for this and please find the same from the below link:
Sample
Link:
Please
let us know if you need any further assistance.
Regards,
Jayapradha
Hi
Sanjhi,
Please
ignore the previous update.
We
have analyzed your requirement and found that you can
achieve this by setting the minimum width based on your header text length in
GridLoaded event.
We
have prepared a sample for this and please find the attached sample.
Please
let us know if you need any further assistance.
Regards,
Jayapradha
Hi Sanjhi and Gaurav,
We are sorry
about the delay caused.
We have
analyzed your requirement and we don’t have the provision to support to change
the stacked header width at runtime. You can avoid the stackedheader text
trimming by setting the width for column header under the stacked header as
shown in the below code snippet. Otherwise, you can set the width for stacked
header while grid loading as we suggested in our previous attached sample.
Code Snippet:
<syncfusion:GridDataStackedHeaderRow
Name="Row1" >
<syncfusion:GridDataStackedHeaderRow.Columns>
<syncfusion:GridDataStackedHeaderColumn HeaderText="ResourcesNeededStackedHeader" Name="Header1" ColumnSpan="1"
/>
<syncfusion:GridDataStackedHeaderColumn HeaderText="Header
2" Name="Header2" ColumnSpan="1"/>
</syncfusion:GridDataStackedHeaderRow.Columns>
</syncfusion:GridDataStackedHeaderRow> </syncfusion:GridDataControl.StackedHeaderRows>
<syncfusion:GridDataControl.VisibleColumns>
<syncfusion:GridDataVisibleColumn MappingName="OrderID" IsIdentity="True" HeaderText="Order
ID" MinimumWidth="300" /> |
Kindly let
us know if you have any other queries.
Regards,
Jayapradha