EasyUI Forum
May 01, 2024, 11:26:03 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Resize column in datagrid and cursor sensitivity  (Read 3523 times)
oyvind
Newbie
*
Posts: 4


View Profile
« on: May 08, 2017, 02:56:58 AM »

Hello, hope I'm in the right place to ask this question.

Some of our users find it difficult to resize columns in the datagrids due to the space in which the resize cursor shows is narrow. The resize cursor only appears on the borders between the columns, which is fine, but it seems you have to be very precise to make the resize cursor appear.

Is there a easy way for me as a developer to make it less sensitive so to speak? That is, have the space of which the resize cursor is visible (and the functionality to resize the column) wider?

Thanks.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: May 08, 2017, 07:23:32 PM »

Please download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.5.2-patch.zip and try to set the 'resizeEdge' property for the datagrid.
Code:
$('#dg').datagrid({
  resizeEdge: 8
});
Logged
oyvind
Newbie
*
Posts: 4


View Profile
« Reply #2 on: May 10, 2017, 12:54:49 AM »

Thank you, that worked out well!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!