jQWidgets Forums

jQuery UI Widgets Forums Grid Check if null value is passed

This topic contains 0 replies, has 1 voice, and was last updated by  maximus2014 10 years, 11 months ago.

Viewing 1 post (of 1 total)
  • Author
  • Check if null value is passed #56981

    maximus2014
    Participant

    Hi All,

    I am using jqxgrid version 3.1.0 with server-side filtering. I am facing an issue regarding column filtering which I’ll explain below:

    I am using a stats tab to display filter result. When a filter is done, it will be displayed in a row and if a second one is done, the result will be displayed below the first one and so on. I am using a variable for eg: ‘f’ to keep account of previous filter count. On page load ‘f’ will be total count.
    Suppose I have about 1000 records in the grid and I apply a filter on column ‘A’ with value ‘a’ and condition ‘contains’ and gets 200 records. In stats tab it will be displayed ‘200 of 1000’ and f will be 200. When I again select the same column filter and remove the entry in search box and filter, the query will be sent with filtercount = 0 and the stats displays ‘1000 of 200’ as no filter parameter is sent. Is there any ways to check whether the parameter sent is ‘blank’ or ‘null’ when using ‘contains’ condition in the column filter.

    Thanks in advance.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.