ColumnFilter type = text no wildcard and own columnFilter type
ColumnFilter type = text no wildcard and own columnFilter type
Hi,
I have a column "size", with a lot of values (no select for filtering possible) like "L", "XL", "XXL" and so on. The following will implement the filtering:
[code].columnFilter({
aoColumns: [
{type: "text", bRegex:true}, /* column "article_number" */
{type: "text", bRegex:true}, /* column "size" */
null,
null,
null,
null,
],
});[/code]How is it possible to search for the column "size" not with wildcard "*value*"? If I enter for filtering the size "L", I do not want to get results with size like "XL" or "XXL"?
Other question is, how can I filter the column "article_number", but in the values there should be replaced the spaces for filtering (but not for the view). An article number looks like "23 083" or "83 874" an for filtering I do not want to enter the space, only "230" for example.
Thanks a lot for your help.
Best regards
Sven.
I have a column "size", with a lot of values (no select for filtering possible) like "L", "XL", "XXL" and so on. The following will implement the filtering:
[code].columnFilter({
aoColumns: [
{type: "text", bRegex:true}, /* column "article_number" */
{type: "text", bRegex:true}, /* column "size" */
null,
null,
null,
null,
],
});[/code]How is it possible to search for the column "size" not with wildcard "*value*"? If I enter for filtering the size "L", I do not want to get results with size like "XL" or "XXL"?
Other question is, how can I filter the column "article_number", but in the values there should be replaced the spaces for filtering (but not for the view). An article number looks like "23 083" or "83 874" an for filtering I do not want to enter the space, only "230" for example.
Thanks a lot for your help.
Best regards
Sven.
This discussion has been closed.
Replies
Thanks a lot!