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?

ProgamProgam Posts: 5Questions: 0Answers: 0
edited July 2013 in General
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?

Replies

  • allanallan Posts: 63,106Questions: 1Answers: 10,394 Site admin
    The column filter plug-in is not supported as part of the the DataTables project. I'd suggest you open an issue on that project's Google Code site.

    Allan
  • ProgamProgam Posts: 5Questions: 0Answers: 0
    Thanks friend, i will do this, but just one more thing, maybe if I change my code i can do what I want, if you help me, see this example:

    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
  • allanallan Posts: 63,106Questions: 1Answers: 10,394 Site admin
    Nasty. Have you tried calling fnAdjustColumnSizing ?

    beyond that, we'd need a link to a test case.

    Allan
This discussion has been closed.