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

Column manual resizing features not working

Thread ID:

Created:

Updated:

Platform:

Replies:

142537 Feb 7,2019 07:01 PM UTC Apr 16,2019 10:32 AM UTC ASP.NET MVC 9
loading
Tags: Grid
John D Lamarsh
Asked On February 7, 2019 07:01 PM UTC

Hi,

I have a dynamically populated grid with no explicit column declarations (don't know if that's relevant), but "allowResizing" and "allowResizingToFit" settings don't seem to work.  At times the correct cursor shows in the column header, and can be used once, others not at all, with no apparent problems in the browser console.

$('#data_table_grid').ejGrid({
                                dataSource: self.dataSource(),
                                allowResizing: true,                                
                                allowResizingToFit: true,
                                allowSorting: true,
                                allowPaging: true,
                                allowTextWrap: true,
                                selectedRowIndex: self.selectedRow(),
                                pageSettings: { currentPage: self.currentPage(), pageSize: 8 },
                                allowScrolling: true,
                                allowGrouping: true,
                                scrollSettings: { width: '100%' },
                                enableStrictMode: true,
                                isResponsive: true,
                                toolbarSettings: {
                                    showToolbar: true,
                                    customToolbarItems: [{
                                        templateID: "#custom_export"
                                    }]
                                }
                            });

Vignesh Natarajan [Syncfusion]
Replied On February 8, 2019 07:34 AM UTC

Hi John D, 

Thanks for contacting Syncfusion Support. 

Query#:- At times the correct cursor shows in the column header, and can be used once, others not at all, with no apparent problems in the browser console. 

From your query, we suspect that you are facing issue column width with auto generated column. We have checked your reported problem and prepared sample as per your code example but we are unable to reproduce your reported problem at our end. 


We need some additional information to find the cause of the issue. Please share us the following details. 

  1. Screenshot/Video Demo to replicate the issue.
  2. Exact issue you have faced.
  3. Essential Studio product version details.(xx.x.x.xx)
  4. If possible replicate the issue in the above sample and revert us back.

Regards, 
Vignesh Natarajan 
 


John D Lamarsh
Replied On February 10, 2019 12:04 AM UTC

Hi Vignish,

Thanks for your response.  I've upgraded to version 16.4.0.52.  Video is attached, and as you can see the refit cursor is not activated in the column header.  No console error, and in Chrome latest version 72.0.3626.96.



John D Lamarsh
Replied On February 10, 2019 12:06 AM UTC


Vignesh Natarajan [Syncfusion]
Replied On February 11, 2019 10:31 AM UTC

Hi John D, 
 
Thanks for the update. 
 
We can reproduce your problem at our end and confirmed it is bug. We have logged defect report “Resizing cursor icon changed while on resizing” and the fix for the issue will be included in our upcoming release 2019 Volume 1 which is expected to rolled out at the end of March 2019. 
 
We can also provide custom patch on 14th Feb 2019. 
 
Till then kindly use workaround below.  
 
<style> 
    .e-grid th.e-headercell.e-draggable { 
        cursor: col-resize !important; 
    } 
</style>   
   <div id="Grid"></div> 
             
    <script type="text/javascript"> 
               $(function () { 
                    $("#Grid").ejGrid({ 
                        dataSource: window.gridData, 
                        allowReordering: true, 
                        allowResizing: true, 
                    }); 
                }); 
 
 
    </script> 
</body> 
 
 
Regards, 
Vignesh Natarajan 


John D Lamarsh
Replied On February 11, 2019 06:30 PM UTC

Thank you for the very timely responses!  I've tried the work-around and the cursor for resize drag, or autoresize double-click seems to work once, then it seems to clash with drag-and-drop column reorder, and grouping functionality.

Vignesh Natarajan [Syncfusion]
Replied On February 12, 2019 01:03 PM UTC

Hi John, 
 
Thanks for the update. 
 
We have validate the reported query and we are able to reproduce the reported behavior at our end with the provided workaround. So we will provide the custom patch for the reported issue on 14th February 2019 as promised . Till then we appreciate your patience. 
 
Regards, 
Vignesh Natarajan 


Vignesh Natarajan [Syncfusion]
Replied On February 19, 2019 11:10 AM UTC

Hi John,  

Thanks for the patience. 

We are glad to inform you that issue “Resizing cursor icon changed while on resizing”  has been fixed and it will be included in our upcoming release 2019 Volume 1 which is expected to be rolled out in the month of March 2019. 

Till then kindly refer the below link for the patch (16.4.0.52).   


Please replace the custom script file “ej.web.all.min.js”  or “ej.grid.min.js” ( while using individual script)  available in the following location in your application to reflect the changes. Also change the ej.widget.core.css file to reflect the CSS changes. 
 
Note: ensure to clear that cache before running the sample again.  
 
Please get back to us if you need any further assistance. 

Regards, 
Vignesh Natarajan 

 


John D Lamarsh
Replied On April 15, 2019 04:45 PM UTC

Vignesh,

Fix is working with jquery 3.3.1 syncfusion 17.00.15.0.38.

Thanks,

John

Vignesh Natarajan [Syncfusion]
Replied On April 16, 2019 10:32 AM UTC

Hi John,  
 
Thanks for the acknowledgement.  
 
We are glad to hear that your query has been resolved in latest version. 
 
Please get back to us if you have further queries. 
 
Regards, 
Vignesh Natarajan. 
 


CONFIRMATION

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

This page will automatically be redirected to the 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

;