Title: Searchfields at the top of the column labels Post by: doev on November 29, 2013, 07:30:33 AM The headline says it all. Can I have a Search/Filter input at the top of the column labels?
Title: Re: Searchfields at the top of the column labels Post by: stworthy on November 30, 2013, 01:05:23 AM Yes, please set 'filterPosition' property to 'top'. Be sure to download the newest 'datagrid-filter.js' file from http://www.jeasyui.com/extension/datagrid_filter.php.
Code: $('#dg').datagrid({filterPosition:'top'}).datagrid('enableFilter'); Title: Re: Searchfields at the top of the column labels Post by: doev on November 30, 2013, 04:33:18 AM Thx! That looks very good. Next step for me is to find out, how I can set "remoteFilter" to "true", cause the server have to do filter it.
<table ... remoteFilter="true" ... > ... seems not be working. Edit: data-options="remoteFilter: 'true'" works fine! Title: Re: Searchfields at the top of the column labels Post by: doev on November 30, 2013, 06:14:46 AM The Filter-Row plugin, has bad column sizeing. Can I change that?
Title: Re: Searchfields at the top of the column labels Post by: doev on December 12, 2013, 01:39:43 AM Is it possible to use a multi selectable dropbox for a colum filter?
|