EasyUI Forum
October 19, 2025, 10:44:59 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: easy ui tabs and and datagrid  (Read 10889 times)
amarminhas
Newbie
*
Posts: 1


View Profile
« on: December 10, 2013, 02:56:08 AM »

Hi,

I'm using easyui framework in a project, and I need

1. tabs to be able to be able to close and sort.
I tried to use the jQuery sortable http://jqueryui.com/sortable/

It works, but seems when I click on the reoredered tabs, they reference back to their original index values and highlight the wrong one. Is there some way to avoid this behaviour?

2. client-side pagination and filtering for the datagrid, I have some json data, and tried to combine

"Client Side Pagination" and "DataGrid Filter Row" at http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=

but it loses pagination then, any snippet I can refer to do client-side pagiation with filtering.

Thanks,
« Last Edit: December 10, 2013, 03:51:56 AM by amarminhas » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: December 10, 2013, 07:07:28 PM »

The 'filter' extension of datagrid with client side pagination is available now. Please download it from http://www.jeasyui.com/extension/datagrid_filter.php.
Code:
$('#dg').datagrid({
  pagination:true,
  remoteFilter:false,
  //...
}).datagrid('enableFilter').datagrid('loadData', ...);
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!