jQWidgets Forums
Forum Replies Created
-
Author
-
November 17, 2015 at 1:10 pm in reply to: Invalid parameter ‘[isBindingCompleted]‘ does not exist Invalid parameter ‘[isBindingCompleted]‘ does not exist #78241
Thanks for the reply Peter.
Currently , I am using Jqx Grid Version 3.8.2 for my application .Does this version supports this feature?
If not ,can you please inform from which version this feature is available.
Also, is there any alternate way to ensure that data is properly binded /loaded in the grid?September 29, 2015 at 12:59 pm in reply to: How to filter both number and string for a single data column in data grid? How to filter both number and string for a single data column in data grid? #76270Thanks for the reply Peter.
Can we achieve this through custom filter.I tried implementing it but I guess there is some issue with my code.Can you please check it once.
$(“.jqx-grid-cell-filter-row” ).keypress(function() {
var filterGroups = $(‘#jqxgridtwo’).jqxGrid(‘getfilterinformation’);
var info = “”;
for (var i = 0; i < filterGroups.length; i++) {
var filterGroup = filterGroups[i];
info += “Filter Column: ” + filterGroup.filtercolumn;
var filters = filterGroup.filter.getfilters();
for (var j = 0; j < filters.length; j++) {
info = filters[j].value;}
}var w=! isNaN(info);
if(w){
alert(“in if”);
var filtergroup = new $.jqx.filter();
var filter_or_operator = 1;
var filtervalue = info;
alert(filtervalue);
var filtercondition = ‘contains’;var filter2 = filtergroup.createfilter(‘numericfilter’, filtervalue, filtercondition);
filtergroup.addfilter(filter_or_operator, filter2);
// add the filters.
// $(“#jqxgrid”).jqxGrid(‘addfilter’, ‘firstname’, filtergroup);
$(“#jqxgridtwo”).jqxGrid(‘addfilter’, ‘countryName’, filtergroup);
$(“#jqxgridtwo”).jqxGrid(‘applyfilters’);
}
else{
alert(“in else”);
var filtergroup = new $.jqx.filter();
var filter_or_operator = 1;
var filtervalue = info;
alert(filtervalue);
var filtercondition = ‘starts_with’;var filter1 = filtergroup.createfilter(‘stringfilter’, filtervalue, filtercondition);
filtergroup.addfilter(filter_or_operator, filter1);
// add the filters.
$(“#jqxgridtwo”).jqxGrid(‘addfilter’, ‘countryName’, filtergroup);
$(“#jqxgridtwo”).jqxGrid(‘applyfilters’);
}
});It is going in proper if-else condition depending upon the entered filter criteria but filter is not working for numeric case.
Regards,
AbhishekSeptember 1, 2015 at 11:13 am in reply to: How to copy data of particular cell in single select mode in Jqxgrid? How to copy data of particular cell in single select mode in Jqxgrid? #75347Ok.
Thanks Anyways.September 1, 2015 at 10:53 am in reply to: How to copy data of particular cell in single select mode in Jqxgrid? How to copy data of particular cell in single select mode in Jqxgrid? #75345Hi Peter,
By ‘singleselect’ I meant ‘singlerow’ which also works similarily i.e. selects one row at a time and unselects the previous row on clicking second row.
September 1, 2015 at 9:06 am in reply to: How to copy data of particular cell in single select mode in Jqxgrid? How to copy data of particular cell in single select mode in Jqxgrid? #75343Thanks for the reply Peter.
Actually ,I am only selecting a particular cell in jqxgrid even though the selection mode used is singleselect. But,even if I select a particular cell from grid and try to copy the data in clipboard ,the data of entire row get copied instead of that selected cell .
Also,as I already mentioned above that we need to have ‘singleselect’ selection mode only as we need to perform certain action on selected row.
So,isn’t here a way by which we can have both these functionalities together.August 17, 2015 at 12:41 pm in reply to: Date Filter not working in Internet Explorer8 Date Filter not working in Internet Explorer8 #74874Hi Ivailo,
Thanks for the reply.Is there some Jqxgrid version(say 3.2 or so) above which this functionality is supported?
Regards,
AbhishekMarch 27, 2015 at 1:59 pm in reply to: Is it possible to display the text in column header in two line? Is it possible to display the text in column header in two line? #69257Thanks Dimitar.
March 20, 2015 at 7:39 am in reply to: How to set validations for Jqx Date Time input in Jqxgrid? How to set validations for Jqx Date Time input in Jqxgrid? #68883Thanks for your reply Peter.I tried implementing the solution suggested in above link.However,whatever,value I select,I get the same error message “Entered value is not valid”.i have used below code for the same.
{text: ‘Job End Date’, cellsalign: ‘left’,columntype: ‘template’, width: ‘205px’,cellsrenderer:cellsrendererEndDate,datafield: ‘jobEndDate’,
createeditor: function (row, cellvalue, editor, cellText, width, height) {
// construct the editor.
/* editor.jqxDropDownList({
checkboxes: true, source: getEditorDataAdapter(‘productname’), displayMember: ‘productname’, valueMember: ‘productname’, width: width, height: height,
selectionRenderer: function () {
return “<span style=’top:4px; position: relative;’>Please Choose:</span>”;
}
}); */// editor.jqxDateTimeInput(/* {width: ‘100px’, height: ’25px’} */);
editor.jqxDateTimeInput({ formatString: ‘dd-MMM-yyyy’ });},
validation: function (cell, value) {
if (value == “”)
return true;var year = value.getFullYear();
alert(year);
if (year >= 2015) {return { result: false, message: “Ship Date should be before 1/1/2015” };
}
return true;
},initeditor: function (row, cellvalue, editor, celltext, pressedkey) {
// editor.jqxDateTimeInput({ formatString: ‘dd-MMM-yyyy’ });
//alert(cellvalue);
editor.val(cellvalue);
},
geteditorvalue: function (row, cellvalue, editor) {
// return the editor’s value.
return editor.val();
alert(editor.val());
}
}Can you please look into this once and suggest why I am getting this error.Also,what is the value for ‘year’ variable.I want to avoid previous date selection.
Thanks ,
AbhishekMarch 18, 2015 at 11:18 am in reply to: How to implement grouping in jqx grid using json object? How to implement grouping in jqx grid using json object? #68814Thanks Nadezhda.This is what I needed.
-
AuthorPosts