jQWidgets Forums
Forum Replies Created
-
Author
-
September 22, 2014 at 2:12 pm in reply to: TypeError: this.columns.records is undefined TypeError: this.columns.records is undefined #59864
even now no success!!
September 22, 2014 at 1:53 pm in reply to: TypeError: this.columns.records is undefined TypeError: this.columns.records is undefined #59862Even if i remove that line still am getting the same error. Even tried removing cache.
July 3, 2014 at 6:43 am in reply to: Replace function not working Replace function not working #56706I just removed cellsformat: ‘F2’ and its working fine now. Thanks.
June 9, 2014 at 12:54 pm in reply to: JQxTab no data to display, Cache problem JQxTab no data to display, Cache problem #55585Hello Peter,
Am using the below code to for the tab click events. Am just using a jqxGrid in the jqxTabs. You are suggesting to use initTabContent??
$('#jqxTabs').on('tabclick', function (event) { var location = $('#jqxTabs').jqxTabs('getTitleAt', event.args.item); for(var i = 0; i < locationColorArray.length ;i++) { for(var j = 0; j < locationArray.length ;j++) { if($.trim(locationColorArray[i]) == $.trim(locationArray[j])){ $("#jqxTabs .jqx-tabs-title:eq(" + j + ")").css("border-color",""); } } } if ($.inArray(location, locationColorArray)!=-1){ $("#jqxTabs .jqx-tabs-title:eq(" + event.args.item + ")").css("border-color", "black"); } var rows = $("#" + location + "Grid").jqxGrid('getrows'); if (rows === undefined || rows == '' ){ if ($.inArray(location, checkLocationArrayForSave)==-1 ){ checkLocationArrayForSave.push(location); } $.blockUI(); setTimeout(function() { if(event.args.item!=0){ locationLoad(location); locationExpRecLoad(location); } $.unblockUI(); },3000); } });
but after tat if I move the mouse why will all the cells on which the mouse move be selected?
Hello peter,
If I click and drag all the cells will be selected. The thing is when I double click on a cell, the values inside are getting selected. I just do a double click and move my mouse. but when I do a double click, the value inside the cell is getting selected for me to change it, on those change am updating few columns of the same row, before the change has happened if I move the cursor, where ever I drag the cursors, the cells are getting selected. Its like click and drag. But am not dragging, just moving the mouse.June 5, 2014 at 9:10 am in reply to: Grid scrolling to the end when i try to edit Grid scrolling to the end when i try to edit #55389Hello Peter,
i see that the new version 3.3 is released now.. but if i use that lot of javascript errors are coming. and every javascript error is of the files which JQWidgets hav. So any suggestions??April 30, 2014 at 1:46 pm in reply to: Grid scrolling to the end when i try to edit Grid scrolling to the end when i try to edit #53776or is there any way to make the horizontal scrollbar fixed and doesnt move untill i use my mouse to scroll?
Hello Peter,
I am able to achieve the output. But there is a small problem. once i apply the filters back, in the filters by default all will be selected. But in the grid data will be filtered with the filter i chose before. So the user has to uncheck all and then select the required things. I used the following code to achieve this. Am not getting what am doing wrong..var filterGroups = $(“#jobCodeSummaryGrid”).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 += “\nFilter: “;
info += filters[j].value;
// info += “\nCondition: ” + filters[j].condition;
//info += “\nOperator: ” + filters[j].operator;
}
}$(“#jobCodeSummaryGrid”).jqxGrid(‘clearfilters’);
DO THE LOGIC
var filtergroup = new $.jqx.filter();
var filter_or_operator = 1;
var filtervalue = info;
var filtercondition = ‘contains’;
var filter1 = filtergroup.createfilter(‘stringfilter’, filtervalue, filtercondition);
filtergroup.addfilter(filter_or_operator, filter1);
$(“#jobCodeSummaryGrid”).jqxGrid(‘addfilter’, ‘strJobCodeId’, filtergroup);
$(“#jobCodeSummaryGrid”).jqxGrid(‘applyfilters’);i tried doing the below.
when onchange method starts of Grid 1 then
var filterGroups = $(“#jobCodeSummaryGrid”).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 += “\nFilter: “;
info += filters[j].value;
// info += “\nCondition: ” + filters[j].condition;
//info += “\nOperator: ” + filters[j].operator;
}
}$(“#jobCodeSummaryGrid”).jqxGrid(‘clearfilters’);
Then do all the calculations / Logics
then
var filtergroup = new $.jqx.filter();
var filter_or_operator = 1;
var filtervalue = info;
var filtercondition = ‘contains’;
var filter1 = filtergroup.createfilter(‘stringfilter’, filtervalue, filtercondition);
filtergroup.addfilter(filter_or_operator, filter1);
$(“#jobCodeSummaryGrid”).jqxGrid(‘addfilter’, ‘strJobCodeId’, filtergroup);But nothing seems to happen.
Hello Peter,
Ya i understand license would be still valid. but for support and queries only upgraded versions will be prefered na. For that particular versions support is provided?March 18, 2014 at 2:42 pm in reply to: Get the Specific rows of the Grid Get the Specific rows of the Grid #51309i have an array of the indexes in which all rows the data is modified. I want the exact same resultset of $(“#GridName”).jqxGrid(‘getrows’); but only with the rows of the indexes in the array. Can you plz show me how to do it? Also i would like to ask if i have a liscense then is there a seperate forum to ask questions or same?
November 5, 2013 at 10:32 am in reply to: Search Option for the Forum Search Option for the Forum #31934Oops Sorry!! Thanks..
September 11, 2013 at 6:16 am in reply to: Substring or get a selected value in cellsrenderer:function Substring or get a selected value in cellsrenderer:function #28746cellsrenderer:function (row, column,value,data ) {var date = value.indexOf("1970");alert(date);if(date != -1){return '<div> </div>';}} },
This is how i have used. Am i doing something wrong???
September 11, 2013 at 5:59 am in reply to: Substring or get a selected value in cellsrenderer:function Substring or get a selected value in cellsrenderer:function #28740Hello Peter,
If i use any of the JQuery or javascript functions like indexOf, jQuery :contains() Selector or substr it gives a javascript error. And the error isSCRIPT438: Object doesn't support property or method 'indexOf' jqxgrid.js, line 7 character 103889
-
AuthorPosts