Title: Datagrid - Search fields in columns headers Post by: mapner on August 10, 2012, 09:20:57 AM Hello,
In a DataGrid I want to put search fields in each header . I try this: Code: <table id="g-cus" title="Data" class="easyui-datagrid" style="width:auto;height:auto;" For the input text fields work fine, but for the combogrid (or a common select combobox) don't drop-down the options. Seems that the container space in the header is insufficient for this. How could I solve it? thanks Title: Re: Datagrid - Search fields in columns headers Post by: stworthy on August 12, 2012, 06:41:29 PM You are missing '}' in your script, please correct it.
Code: <script> Title: Re: Datagrid - Search fields in columns headers Post by: mapner on August 13, 2012, 05:22:28 AM Stworthy,
Sorry, the missing }); is an typo in the the forum message, but the concept is the same. When I use any drop-down widget in a column header (combo, combobox, combogrid, date input), this dont work correctly. I think that use it this feature will give more functionallity for data filtering (local or remote) to JQuery EasyUI (BTW a great Javascript framerwork). thanks Title: Re: Datagrid - Search fields in columns headers Post by: stworthy on August 14, 2012, 09:18:31 PM Try running the example below:
http://jsfiddle.net/dYbKz/ Title: Re: Datagrid - Search fields in columns headers Post by: mapner on August 15, 2012, 09:03:02 AM Ok Stworthy!
Work fine!! Thank you!!! |