Home > Mobile >  EasyUI Datagrid hand-held machine can't update in android 5.1 cell
EasyUI Datagrid hand-held machine can't update in android 5.1 cell

Time:11-30

Under the Android version 5.1 using EasyUI datagrid form plug-in, other works, but update the data in the cell failure,
Changed with new forms of several kinds of failure, don't know why, but the same code in other android phones are all that, a great god please help analyse,
Method one:
//get the columns object
Var columns=$(' # tb_SaleOrder). The datagrid (" options "). The columns;
//get the rows object
Var rows=$(' # tb_SaleOrder). The datagrid (" getRows ");//this code is//to a cell assignment
Rows [selectIndex] [columns [0] [3]. The field]=99.2;
//refresh the bank, only refresh the effective
$(' # tb_SaleOrder '). The datagrid (' refreshRow 'selectIndex);

Method 2:
Var Ed=$(' # tb_SaleOrder). The datagrid (' getEditor '{index: selectIndex, field:' AMount '});
Var productname=99.99;
$(' # tb_SaleOrder '). The datagrid (' getRows) [selectIndex] [' AMount ']=productname;
$(' # tb_SaleOrder '). The datagrid (' endEdit 'selectIndex);
Method 3:
$(' # tb_SaleOrder '). The datagrid (' the updateRow '{
Index: selectIndex,
Row: {
'the AMount: 99.22
}
});
The three methods above, in the android phones are useful, but in the android version 5.1 of the hand-held machine not make, please help analysis
  • Related