EasyUI Forum
September 19, 2025, 08:41:27 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: gotoCell does not work when cell in edit  (Read 10929 times)
A-K
Full Member
***
Posts: 122


View Profile WWW
« on: February 27, 2016, 09:03:10 AM »

Hey,

I downloaded the latest file for cellediting extension and noticed a change that made my code to stop working.

I have looked at the changes and noticed you have this new code in the gotoCell function:
Code:
var cparam = dg.datagrid('cell');
if (cparam){
var input = dg.datagrid('input', cparam);
if (input){
input.focus();
return;
}
}

This makes the gotoCell not work at all when I have a cell in edit, and now I cant check if the next cell I am going to is valid and worth the end edit of the current cell..

Can you check it out? I have currently removed this code and it now works fine but I am not sure if it will work as you continue to work on this extension.

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


View Profile Email
« Reply #1 on: February 28, 2016, 01:34:55 AM »

The cellediting datagrid should have only one editing cell. These statements prevent from moving to other cells when a cell is editing.

I cant check if the next cell I am going to is valid and worth the end edit of the current cell..

Could you please describe this issue in more detail?
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!