数据表过滤查询? Datapicker [英] Data table Filter query ? Datapicker
问题描述
您好b $ b
我在数据表上应用了columnfilter,一切正常。但问题是我不想要特定列的过滤器。说我只需要一个过滤器到一个列旁边的搜索框左边只是为了过滤记录使用from&日期选择器。
我试过这样但不起作用。
< span class =code-keyword>< thead >
< tr >
< th > 潜在客户ID < / th >
< th > 联络名称< / th >
< > 联系地址< / th >
< th > Lead Source < / th >
< th > 域< / th >
< / tr >
< tr &g t;
< th > 域< / th >
< / tr >
< / thead >
dt.columnFilter({
aoColumns:
[
{},
{},
{},
{},
{type:date-range}
]
});
我只需要在t上过滤op通过日期选择器进行过滤。
图片:点击此处查看样本图片
或者你也可以尝试这个
[url = http://postimg.org/image/tyqaod3v1/] [img = http://s30.postimg.org/tyqaod3v1/pic .jpg] [/ url]
关注
查看此链接: -
http:// jquery-datatables- column-filter.googlecode.com/svn/trunk/customFilters.html [ ^ ]
下载DataTables v1.9.4来自
http://datatables.net/download/ [ ^ ]
这里有很多类型的数据表你可以选择任何之一。
Hi
I applied columnfilter on datatable and everything is working fine . But the thing is i dont want filters for specific set of columns . say i just need a filter to a column Beside search box Left to it just to filter records using from & to of Date Picker .
I tried like this but its not working .!
<thead>
<tr>
<th>Lead Id</th>
<th>Contact Name</th>
<th>Contact Address</th>
<th>Lead Source</th>
<th>Domain</th>
</tr>
<tr>
<th>Domain</th>
</tr>
</thead>
dt.columnFilter({
aoColumns:
[
{ },
{ },
{ },
{ },
{ type: "date-range" }
]
});
I just need filter on top which does filter via date picker .
PICTURE : click here for sample picture
or you can try this also
[url=http://postimg.org/image/tyqaod3v1/][img=http://s30.postimg.org/tyqaod3v1/pic.jpg][/url]
Regards
See This link :-
http://jquery-datatables-column-filter.googlecode.com/svn/trunk/customFilters.html[^]
Download "DataTables v1.9.4" From
http://datatables.net/download/[^]
Here many type of data table You can select any one.
这篇关于数据表过滤查询? Datapicker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!