How to freeze lat column to be fixed

I have an sfgrid with 20 column and last column is Action button (edit/delete).I would like to know how to freeze last column (which should be fixed when horizontal scolling).please provide me example code.


1 Reply

RS Renjith Singh Rajendran Syncfusion Team July 19, 2021 11:11 AM UTC

Hi Hassan, 

Greetings from Syncfusion support. 

We have support to freeze columns in both left or right side of Grid. Please refer the below documentation for more details, 
References :  

Please refer and use as like the code below, 

 
<GridColumn HeaderText="Manage Records" Width="150" Freeze="FreezeDirection.Right" IsFrozen="true" > 
    <GridCommandColumns> 
        <GridCommandColumn Type="CommandButtonType.Edit" ...></GridCommandColumn> 
        ... 
    </GridCommandColumns> 
 </GridColumn> 


Note : Ensure to upgrade to our latest version 19.2.0.47 before applying the above suggestion. 
 
Please get back to us if you need further assistance. 

Regards, 
Renjith R 


Loader.
Up arrow icon