jQWidgets Forums

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • chakrameste
    Participant

    Got it. It was a problem with the data i was getting with the ajax request. I was treating all data like string. Stupid of me. Thanks a lot and keep up the good work.


    chakrameste
    Participant

    After more debugging I saw that this error only happens when the column has “filtertype” set to “number”. If I remove “filtertype” from every column, the filtering starts working just fine. However, since some columns work with numbers, i really need to filter by number, because of the filtering conditions.

    Once again, can someone help me out here? Do you know why “filtertype: number” is making this error? Or can you provide me with a piece of code for a custom filter that behaves exactly like “number” works?


    chakrameste
    Participant

    Let me explain myself better. When I “console.log(event.args.filters)” in my working examples, what I get is this object:

    [Object { filter={…}, datafield=”V1″}]

    This is ok because i was searching in a column that uses “V1″ datafield.

    When i do the same on the non-working examples I get:

    [Object { filter={…}, datafield=”AdmissibleBags”}, Object { filter={…}, datafield=”TotalFractions”}, Object { filter={…}, datafield=”SLA”}]

    And i am only searching in one column, because i am using the default filtering funcionality.

    I have been reading the documentation but have not been able to find an answer to my problem. Have rebuilt the page from scratch and i keep having the same problem. Do you have any idea what can be causing this?

Viewing 3 posts - 1 through 3 (of 3 total)