Column Resizing not working

Hi team,


I have a datagrid where column resizing is not working.  Attribute  AllowResizing="true" is already added to the Datagrid. Below is the code for the same.


 <SfGrid DataSource="@SalesOrdersList" AllowPaging="true" AllowSorting="true" AllowGrouping="true" ID="SalesGrid" GridLines="GridLine.Both" EnablePersistence="false" AllowFiltering="true" @ref="salesOrdersGrid" AllowTextWrap="true" AllowExcelExport="true" AllowPdfExport="true" PrintMode=PrintMode.CurrentPage ShowColumnChooser="true" Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Delete", "Cancel","Search", "Print", "PdfExport", "ExcelExport", "ColumnChooser" })" Height="100%" Width="100%" AllowReordering="true" AllowResizing="true">


While the same code for a different grid for a different page works fine without any issues.


<SfGrid DataSource="@ProductionLogList" @ref="productionLogsGrid" AllowPaging="true" AllowSorting="true" AllowGrouping="true" ID="prodLogsGrid" GridLines="GridLine.Both" AllowFiltering="true" AllowTextWrap="true" AllowExcelExport="true" AllowPdfExport="true" PrintMode=PrintMode.CurrentPage AllowReordering="true" AllowResizing="true" ShowColumnChooser="true" Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Delete", "Cancel","Search", "Print", "PdfExport", "ExcelExport" , "ColumnChooser"})" Height="100%" Width="100%" EnablePersistence="false">

One thing i noticed is toggling  EnablePersistence to true/false is sometimes working but the functionality is not consistence.  Please advice.


Thanks

Baba


3 Replies

RS Renjith Singh Rajendran Syncfusion Team April 7, 2022 08:31 AM UTC

Hi Baba,


Greetings from Syncfusion support.


We are not clear about the exact scenario you are facing this problem. We need the following details to further proceed on this scenario. Kindly share with us the details to proceed further.


  1. Share a simple issue reproducing sample based on your scenario for us to validate.
  2. Share a video demo showing the replication of the problem you are facing.
  3. Share the exact scenario you are facing this problem.
  4. Share the complete Grid rendering code along with Grid’s parent element and model class codes.


The provided information will help us analyze the problem, and provide you a solution as early as possible.


Regards,

Renjith R



BG Baba Goud Gadiga replied to Renjith Singh Rajendran April 7, 2022 08:47 AM UTC

Hello Renjith,

I have shared the video and  code files. Hope this should help you to look at the issue.


The exact scenario is simple I am just trying to resize the columns after the page has been loaded. If you see the video I am trying to extend the columns by dragging the columns border which is not working as expected.


Thanks

Baba


Attachment: Column_Resizing_Issue_b75d9eee.zip


RS Renjith Singh Rajendran Syncfusion Team April 8, 2022 08:56 AM UTC

Hi Baba,


We checked this scenario by creating a sample using your shared codes in our latest version 20.1.0.47, but we could not reproduce the reported problem with the sample created using your shared codes from our side.


We are attaching the issue reproducing sample for your reference.


Kindly refer the attached sample and check this from your side. If you are still facing difficulties, then kindly share with us a simple issue reproducing sample along with the detailed explanation of the exact scenario you are facing this reported problem to proceed further.


Regards,

Renjith R


Attachment: ServerApp_21929e89.zip

Loader.
Up arrow icon