Expander button & template column

Hi,

I have 2 questions:

Is it possible to change the expander colum in another column (image on attached file)?

I have a TreeGridTemplateColumn with a SfTextBoxExt inside. How can I resize the width of a suggestionbox? By default, the width is the same as column width. I tried to use suggestionBoxStyle, but it dosent work.

Thank's!

Attachment: sftreegrid_8338a4cf.zip

4 Replies 1 reply marked as answer

MA Mohanram Anbukkarasu Syncfusion Team February 24, 2021 01:28 PM UTC

Hi Daniel, 

Thanks for contacting Syncfusion products.  

Query 
Solution 
Is it possible to change the expander colum in another column (image on attached file)? 
You can achieve this requirement by using SfTreeGrid.ExpanderColumn property as shown in the following code example.  

Code example :  

<syncfusion:SfTreeGrid Name="treeGrid" 
                       ChildPropertyName="ReportsTo" 
                       ItemsSource="{Binding Employees}" 
                       ParentPropertyName="ID" 
                       SelfRelationRootValue="-1" 
                       ExpanderColumn="ID" /> 
 
 

 

I have a TreeGridTemplateColumn with a SfTextBoxExt inside. How can I resize the width of a suggestionbox? By default, the width is the same as column width. I tried to use suggestionBoxStyle, but it dosent work. 
We have forwarded this query to SfTextBoxExt team. We will update with further details on February 26, 2021. We appreciate your patience until then.  

Regards, 
Mohanram A. 


Marked as answer

MA Mohanram Anbukkarasu Syncfusion Team February 25, 2021 09:50 AM UTC

Hi Daniel, 

Thanks for your patience.  

We have analyzed your query and currently we don’t have Drop down width support for SfTextBoxExt control. We have logged the feature request for this and you can track the status of the feature from below link 

Feedback portal: 

Please cast your vote to make it count. We will prioritize the features every release based on the demands and we do not have an immediate plan to implement this feature since we have committed with already planned work. So, this feature will be available in any of our upcoming releases. 

If you have any more specifications/suggestions to the feature request, you can add it as a comment in the portal. 

Regards, 
Mohanram A.  

                                                                 





DG Daniel Garcia February 25, 2021 01:07 PM UTC

Hi Mohanram,

The property "ExpanderColumn" solved my issue.

Thank you for reporting the issue to the developers.

Regards,

Daniel




MA Mohanram Anbukkarasu Syncfusion Team February 26, 2021 04:13 AM UTC

Hi Daniel, 

Thanks for the update.  

We are glad to know that the provided solution worked at your end. Please let us know if you require any other assistance from us. We are happy to help you.  

Regards, 
Mohanram A. 



Loader.
Up arrow icon