We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Allow User To Resize SfDataGrid

Thread ID:





127412 Nov 14,2016 07:51 PM UTC Nov 16,2016 12:23 PM UTC UWP 3
Tags: SfDataGrid
David Harvey
Asked On November 14, 2016 07:51 PM UTC

Is it possible to allow the user to resize SfDataGrid controls during run time.  Useful for expanding the number of rows/columns displayed.

Thank you.

Srinivasan Vasu [Syncfusion]
Replied On November 15, 2016 06:38 AM UTC

Hi David,   
We cannot understand your requirement clearly.    
You can change the Row height by setting SfDataGrid.RowHeight property in runtime.   
You can change the Column Width by setting SfDataGrid.ColumnSizer property in runtime.   
You can also add columns in runtime.    
If your requirement differs from this, please share more details about your requirement? This would help to analyze further   

David Harvey
Replied On November 15, 2016 09:54 AM UTC


Sorry, what I mean to say is that once the SfDataGrid is rendered on screen, can it be configured such that the user can grab the corner of the grid with their mouse (or fingers), and expand the size of the control.  Much like how one normally expands the size of the window to any arbitrary size, but in this case specific to the grid control itself

The result would be that the user can resize the grid to show more columns or rows depending on how big they resize the grid.  Note, this is not about adjusting the individual heights/widths of the rows/columns, but the whole table itself.

Thank you.

Srinivasan Vasu [Syncfusion]
Replied On November 16, 2016 12:23 PM UTC

Hi David, 

We have analyzed your query and we have prepared a sample based on your requirement. You can resize the SfDataGrid vertically or horizontally during runtime using SfGridSplitter. 

Please find the sample from the below location. 

Please let us know if you need any query on this. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon