EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 05, 2024, 06:16:05 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Searchfields at the top of the column labels
Pages: [
1
]
« previous
next »
Print
Author
Topic: Searchfields at the top of the column labels (Read 8359 times)
doev
Newbie
Posts: 22
Searchfields at the top of the column labels
«
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?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Searchfields at the top of the column labels
«
Reply #1 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');
Logged
doev
Newbie
Posts: 22
Re: Searchfields at the top of the column labels
«
Reply #2 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!
«
Last Edit: November 30, 2013, 04:36:02 AM by doev
»
Logged
doev
Newbie
Posts: 22
Re: Searchfields at the top of the column labels
«
Reply #3 on:
November 30, 2013, 06:14:46 AM »
The Filter-Row plugin, has bad column sizeing. Can I change that?
Logged
doev
Newbie
Posts: 22
Re: Searchfields at the top of the column labels
«
Reply #4 on:
December 12, 2013, 01:39:43 AM »
Is it possible to use a multi selectable dropbox for a colum filter?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...