EasyUI Forum

General Category => Bug Report => Topic started by: msvabik on December 01, 2016, 02:01:04 PM



Title: edatagrid and scrollview
Post by: msvabik 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?


Title: Re: edatagrid and scrollview
Post by: stworthy on December 01, 2016, 05:22:38 PM
Please look at this example http://code.reloado.com/akidec/edit#preview. It works fine.