Show Posts
|
Pages: 1 [2] 3 4
|
17
|
General Category / EasyUI for jQuery / Problem with loading data into filebox
|
on: July 25, 2016, 02:40:47 AM
|
I have datagrid to hold the rows data. By clicking edit on each row, it will pop up data into form field. I used filebox inside the form. The problem i got "SecurityError: The operation is insecure." Any solution to load data(field) into filebox? Thanks,
|
|
|
18
|
General Category / EasyUI for jQuery / Problem with form onchange
|
on: May 09, 2016, 08:12:16 PM
|
In my form i have a few fields included one field to store number with easyui-numberbox. I have datagrid to view, add and edit data. So the problem is when i try to edit data by double click on row or click edit button, it fire the onchange form. Actually, to show data on form, i use $('#fm').form('load', row) I use console.log(target), and see only easyui-numberbox field recorded.
|
|
|
20
|
General Category / EasyUI for jQuery / Re: How to get Checkbox value from Datagrid editor
|
on: March 30, 2015, 12:36:54 AM
|
<th data-options="field:'status',width:15" align='center' editor="{type:'checkbox',options:{on:'v',off:'n'}}">status</th> function getRowIndex(target) { var tr = $(target).closest('tr.datagrid-row'); return parseInt(tr.attr('datagrid-row-index')); } function saverow(target){ var status = $('#dg').datagrid('getEditor', {index: getRowIndex(target), field: 'status'}); var v_status = $(status.target).val(); alert(v_status) } And the result i got is alway 'v' even i did not check it.
|
|
|
|