jQWidgets Forums
Forum Replies Created
-
Author
-
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=ORso 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}
};
}Please ignore this as it is a duplicate question.
June 25, 2015 at 1:51 pm in reply to: Custom filtering in jqx grid Custom filtering in jqx grid #73010The above example shows for one column. How do you filter when you have 3 textboxes separate for each column and one submit button.
Thank you 🙂
-
AuthorPosts