EasyUI Forum
May 03, 2024, 11:05:14 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / How to get off value of the swithbutton on: May 17, 2017, 02:41:18 AM
Plz, help!!
if i don't click the switchbutton, when i submit the form then can not get the value from switchbutton element ?

thanks
2  General Category / EasyUI for jQuery / help - datagrid in dialog -ver 1.5.2 on: April 25, 2017, 02:18:34 AM
Please help!
I have a datagrid with add/remove button in dialog.
When i clicked the add button to a row there's something wrong like below output in chrome console.
Please help me figure it.
thanks.


Uncaught TypeError: Cannot read property 'COL1' of undefined
    at Object.renderRow (VM12783 jquery.easyui.min.js:11304)
    at Object._84a (VM12783 jquery.easyui.min.js:11373)
    at Object.updateRow (VM12783 jquery.easyui.min.js:11381)
    at Object.refreshRow (VM12783 jquery.easyui.min.js:11354)
    at Object.insertRow (VM12783 jquery.easyui.min.js:11435)
    at _7a5 (VM12783 jquery.easyui.min.js:10652)
    at HTMLTableElement.<anonymous> (VM12783 jquery.easyui.min.js:11165)
    at Function.each (VM12782 jquery.min.js:2)
    at m.fn.init.each (VM12782 jquery.min.js:2)
    at Object.appendRow (VM12783 jquery.easyui.min.js:11164)
renderRow   @   VM12783 jquery.easyui.min.js:11304
_84a   @   VM12783 jquery.easyui.min.js:11373
updateRow   @   VM12783 jquery.easyui.min.js:11381
refreshRow   @   VM12783 jquery.easyui.min.js:11354
insertRow   @   VM12783 jquery.easyui.min.js:11435
_7a5   @   VM12783 jquery.easyui.min.js:10652
(anonymous)   @   VM12783 jquery.easyui.min.js:11165
each   @   VM12782 jquery.min.js:2
each   @   VM12782 jquery.min.js:2
appendRow   @   VM12783 jquery.easyui.min.js:11164
$.fn.datagrid   @   VM12783 jquery.easyui.min.js:10805
append   @   VM12795 index:1287
onclick   @   VM12422 index:1272


PS:
source code :
<table id="dg" class="easyui-datagrid" title="Row Editing in DataGrid" style="width:700px;height:auto"
            data-options="
                iconCls: 'icon-edit',
                singleSelect: true,
                toolbar: '#tb',
                onClickCell,
                onEndEdit: onEndEdit
            ">
        <thead>
            <tr>
                <th data-options="field:'COL1',width:80">Item ID</th>
                                <th data-options="field:'listprice',width:80,align:'right',editor:{type:'numberbox',options:{precision:1}}">List Price</th>
                <th data-options="field:'unitcost',width:80,align:'right',editor:'numberbox'">Unit Cost</th>
                <th data-options="field:'attr1',width:250,editor:'textbox'">Attribute</th>
                <th data-options="field:'status',width:60,align:'center',editor:{type:'checkbox',options:{on:'P',off:''}}">Status</th>
            </tr>
        </thead>
    </table>
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!