EasyUI Forum
April 23, 2024, 01:03:51 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: edatagrid and scrollview  (Read 5069 times)
msvabik
Newbie
*
Posts: 30


View Profile
« on: December 01, 2016, 02:01:04 PM »

Hello
I used a combination edatagrid scrollview
Code:
$('#table_normativy').edatagrid({
                view: scrollview,
                url: 'servis.php?com=normativy&action=ListStockNormativeScroll',
                autoRowHeight: false,
                pagination: false,
                rownumbers: true,
fitColumns:false,
    selectOnCheck:false,
    checkOnSelect:false,
    showFooter: true,
    pageSize: 50,
                autoSave: true,                         
                singleSelect: true,
    idField: 'ID_Article',   
    fit: true,
    multiSort: true,
    remoteFilter: true,
    toolbar: '#tool_normativ'
       });
UpdateURL I set in another step.
Edited row is saved when you click the mouse on a different row.
If I use
Code:
$('#table_normativy').edatagrid('saveRow');
Editing is terminated without saving (by setting saveUrl).
Unless you use a combination edatagrid and scrollview, only used edatagrid saveRow method works OK.
I use EasyUi 1.5
this is bug?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: December 01, 2016, 05:22:38 PM »

Please look at this example http://code.reloado.com/akidec/edit#preview. It works fine.
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!