Why my filtering columns (aocolumns?) not adjust width with your 'master'(mother) column?
Why my filtering columns (aocolumns?) not adjust width with your 'master'(mother) column?
Why my filtering columns (aocolumns?) not adjust width with your 'master'(mother) column?
To understand what I mean, a image say more than words:
http://img6.imageshack.us/img6/8521/mke6.png
-This columns above, are the filtering columns, so for example, the first filtering column ( which has a textbox to digit the filtering word) occupies the width of virtually almost the width of two columns mothers
-and the second column filter, which has a dropdown respect to the second column up / mother is practically aligned with the third column
-the fourth column filter, which is filtering numerically data of from (x) to (y) should be aligned with aa fourth column mother but is aligned with the sixth
[code] $("table#GridView1").dataTable().columnFilter(
{
//sPlaceHolder: "foot:before",
"aoColumns": [
//{ "type": "number-range" },
{"type": "text", width: "50px" },
{ "type": "select" },
{ "type": "text" }, //null, //{ "type": "date-range", width: "50px" },
{"type": "number-range", width: "50px" },
{ "type": "select" },
{ "type": "select" },
{ "type": "date-range"}, //{ "type": "date-range", width: "50px" },
{ "type": "select" },
{ "type": "select" },
]
});[/code]
the piece of code to add a new filter column is this, I modify the width and nothing happens.
So how can I make the filter columns, align with its reference above, your mother column to which they make the filter?
To understand what I mean, a image say more than words:
http://img6.imageshack.us/img6/8521/mke6.png
-This columns above, are the filtering columns, so for example, the first filtering column ( which has a textbox to digit the filtering word) occupies the width of virtually almost the width of two columns mothers
-and the second column filter, which has a dropdown respect to the second column up / mother is practically aligned with the third column
-the fourth column filter, which is filtering numerically data of from (x) to (y) should be aligned with aa fourth column mother but is aligned with the sixth
[code] $("table#GridView1").dataTable().columnFilter(
{
//sPlaceHolder: "foot:before",
"aoColumns": [
//{ "type": "number-range" },
{"type": "text", width: "50px" },
{ "type": "select" },
{ "type": "text" }, //null, //{ "type": "date-range", width: "50px" },
{"type": "number-range", width: "50px" },
{ "type": "select" },
{ "type": "select" },
{ "type": "date-range"}, //{ "type": "date-range", width: "50px" },
{ "type": "select" },
{ "type": "select" },
]
});[/code]
the piece of code to add a new filter column is this, I modify the width and nothing happens.
So how can I make the filter columns, align with its reference above, your mother column to which they make the filter?
This discussion has been closed.
Replies
Allan
http://datatables.net/examples/api/multi_filter.html
in here there is no such problem with the width
in this another example too:
http://datatables.net/examples/api/multi_filter_select.html
http://datatables.net/release-datatables/extras/ColReorder/col_filter.html
So, i want do like in this examples, i dont now how do this examples compatible with what do at this moment, see the all code of my example of the image that I post.
here does not fit all the code,'ll post at googledocs:
https://docs.google.com/document/d/1V1O4wtNIpLQxRXjL4v9WoeoUM-kF5ddXhNiset96PPY/edit?usp=sharing
Thanks in advanced
beyond that, we'd need a link to a test case.
Allan