jQWidgets Forums

Forum Replies Created

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • in reply to: Datasource url for jqxgrid Datasource url for jqxgrid #73016

    harsh
    Participant

    Hi ,

    I have a particular scenario where the url can be
    1.http://localhost:49295/Mailman/Result?status=W
    2.http://localhost:49295/Mailman/Result?EMAILFROM=&EMAILTO=t16&keywords=&MAILNAMEJOIN=OR

    so I have given the source as follows. It works when status = W but does not for the second url. Can you please let me know if the data is correct when it has multiple parameters?

    var source = “”;
    var status = “@Request.QueryString[“status”]”;(this will be null for second url but it goes into the if block for some reason)

    if (status != null) {
    source =
    {
    datatype: “json”,
    datafields: [
    { name: ‘MailBoxID’, type: ‘string’ },
    { name: ‘TOName’, type: ‘string’ },
    { name: ‘Subject’, type: ‘string’ },
    { name: ‘DateCreated’, type: ‘date’ }

    ],
    url: “/Mailman/Results/”,
    data: {
    status: status

    }

    };
    }
    else
    {
    source =
    {
    datatype: “json”,
    datafields: [
    { name: ‘MailBoxID’, type: ‘string’ },
    { name: ‘TOName’, type: ‘string’ },
    { name: ‘Subject’, type: ‘string’ },
    { name: ‘DateCreated’, type: ‘date’ }

    ],
    url: “/Mailman/Results/”,
    data: {

    EMAILFROM: emailfrom,
    EMAILTO: emailto,
    keywords: kwywrds,
    MAILNAMEJOIN: mailnamejoin

    }

    };
    }

    in reply to: jqx filtering jqx filtering #73013

    harsh
    Participant

    Please ignore this as it is a duplicate question.

    in reply to: Custom filtering in jqx grid Custom filtering in jqx grid #73010

    harsh
    Participant

    The above example shows for one column. How do you filter when you have 3 textboxes separate for each column and one submit button.

    in reply to: Datasource url for jqxgrid Datasource url for jqxgrid #73008

    harsh
    Participant

    Thank you 🙂

Viewing 4 posts - 16 through 19 (of 19 total)