Show Posts
|
Pages: [1]
|
1
|
General Category / General Discussion / How can pass extra data when submit a form
|
on: December 27, 2012, 09:59:43 PM
|
How can pass extra data which are not in the form when submit a form.Please see the example.
I want to pass extra data like params:{product_id : '125','qnty':10,'price':500} instead of url:'page.php?product_id=125&qnty=10&price=500'' when submit a form
function submitForm(){ $('#ff').form('submit',{ url:..., params:{product_id : '125','qnty':10,'price':500} }); }
|
|
|
6
|
General Category / General Discussion / get whole data in the grid
|
on: December 03, 2012, 04:03:51 AM
|
I have created a grid panel.It has no of records. I want to get all data in the grid when click a button.This function is working, if select entire row using datagrid('getSelections');
is possible get entire data in the grid without select the rows?
|
|
|
8
|
General Category / General Discussion / Input type FILE validation
|
on: November 29, 2012, 04:43:03 AM
|
How we can validate a input type file in a form.
I created a file type with following code <input type="file" class="easyui-validatebox" required="true">
when try to submit the form,following error shows $.data(_391, "validatebox") is undefined
|
|
|
10
|
General Category / General Discussion / remove only the child of particular node
|
on: November 22, 2012, 04:50:46 AM
|
I have created a tree panel It has nested nodes like following
Course1 --Chapter1 --Lesson1 --Lesson2 --Lessaon3 --Chapter2 --Lesson1 --Lesson2 --Lessaon3
I want to remove only the child of the node 'Chapter1' .When i used $('#treePanel').tree('remove',node.target), the node 'Chapter1' and its child was removed.
Is it possible?
Thanks in advance.....
|
|
|
11
|
General Category / General Discussion / Set pageSize of grid depends on screen height
|
on: November 21, 2012, 09:38:04 PM
|
I have created a grid panel using Easy UI. The grid panel is fit to all screens.The page size of grid is 20. In small screens, the grid has scrolling. In wide screen,there is some blank space between last record and pagination tool even though there is more than 20 records.In this blank space, we can accommodate 4 or 5 records.
Please see the attached file.There is 2 pages [25 records]. First page shows 20 records. Some blank space is shown after the 20th record.
I want 15 records for small screens and 25 records for wide screens.There should not be scroll bar and blank space.
How can dynamically set the pageSize of grid depends on screen height or grid height ? Is there any function to get the height of grid panel?
|
|
|
|