jQWidgets Forums
Forum Replies Created
-
Author
-
January 7, 2016 at 5:29 am in reply to: event fired when a checkbox is selected event fired when a checkbox is selected #80160
please help us on the above
January 6, 2016 at 1:27 pm in reply to: event fired when a checkbox is selected event fired when a checkbox is selected #80132I have used selection mode for grid ( selectionmode: ‘checkbox’). In this case, requirement is to fireevent on the checkbox enable/disable.
Regards,
Ravikiran AAny luck on the above requirement
Thanks for your valuable suggestion for filtering the condition list (LESS THAN, Contains, Does not contains etc).
In the same grid, i have another requirement for a column to show the filters based upon the available list (Open,OnHold,Inprogress,Resolved)
—————————————-
column1 | column2 | column3 | column4 |
—————————————except column2 for other columns i need to add filter menu (as you send in your previous comment)
for column2, i need to add a checkbox menu with the above list (open,onhold,inprogess and resolved).Upon the menuitem selection i need to filter the grid column data.Regards,
Ravikiran AitaHello,
We are using the column filtering grid not filter row. I have a requirement to show filters as below
for some columns: filter expression (EQUALS, NULL,LESS etc)
for some columns (enum values): check box filter items (filter type: check list)
Any help on this requirement
i am not able to attach the image here in the post.
December 18, 2014 at 9:32 am in reply to: Validate the data in jqxgrid Validate the data in jqxgrid #64385Hi Peter,
It is not actually a failure case, we get the data other than the column data for example a script code or html code.Based upon the received data we need to act on it.Whether to load the data or execute the html/script code.
1) when actual column data is streamed downloadComplete is called
2) When the data other than column data downloadComplete/error functions are not calledThanks in advance.
December 18, 2014 at 5:43 am in reply to: Validate the data in jqxgrid Validate the data in jqxgrid #64354Hi Peter,
You may get better idea on the actual question by looking at the downloadComplete function.
In success case i am getting the expected value but in the failure case we are not getting the call to this function.
function getLatestDataAdapter(options, filters)
{
var source = getSource(options, filters);
return new $.jqx.dataAdapter(source, {
downloadComplete: function (data, status, xhr)
{
if(“1” == xhr.getResponseHeader(“cp-session-expired”))
{
alert(“Your session has expired. Please log in again”);
window.location.href = ‘login.do’;
}
return data.rows;
}
});
}function getSource(options, filters)
{
var params;
if (filters != undefined)
{
params = filters;
}
else
{
params = options.data;
}return {
type: “POST”,
datatype: ‘json’,
cache: false,
datafields: options.datafields,
url:options.url,
beforeprocessing: function(data)
{
this.totalrecords = data.records;
},
sort: function()
{
$(“#” + options.gridID).jqxGrid(‘updatebounddata’, ‘sort’);
},
filter: function()
{
$(“#” + options.gridID).jqxGrid(‘updatebounddata’, ‘filter’);
},
data: params
};
}Thanks in advance
December 17, 2014 at 2:10 pm in reply to: Validate the data in jqxgrid Validate the data in jqxgrid #64324This issue is Not related to editable jqxgrid. My intention here to get the parameter from jqxgrid ajax response header.
-
AuthorPosts