Sorting by a hidden column

Hello,

I want to make a row fixed to the bottom of the DataGrid without using SummaryRow, I decided to add a column with the value Z and sort it descending, to emulate that this row is always at the end.
Is there a way to persist that sorting even when sorting by other column or maybe even a work around to achieve this behavior?

1 Reply

SS Sivaraman Sivagurunathan Syncfusion Team January 23, 2018 01:27 PM UTC

Hi Carlos,   
   
Thanks for using Syncfusion support.   
   
We have checked your query. Currently we do not have support for this requirement “Unbound Row”. However, you can achieve your requirement by creating a new SfDataGrid below your dataGrid with one row or load a custom view with required details. We have prepared sample based on your requirement and you can download the same from the below link.   
   
   
Regarding Unbound Row:   
   
Since this feature is not available in our product, we will consider this to be a feature request. If you could confirm some specific details, it would help us to implement the feature in line with your requirement.   
Please review the following screen shot and code snippet of the feature and let us know if it conforms to your requirement. If our definition of this feature is different from your requirement, then let us know the specific details, so that we can work towards fulfilling your requirement.   
   
   
<syncfusion:SfDataGrid x:Name="dataGrid"  ItemsSource="{Binding Orders}">   
    <syncfusion:SfDataGrid.UnBoundRows>   
        <syncfusion:GridUnBoundRow Position="Bottom"/>   
    </syncfusion:SfDataGrid.UnBoundRows>   
</syncfusion:SfDataGrid>   
   
  
   
   
   
Regards,   
Sivaraman    
 


Loader.
Up arrow icon