jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts

  • Akshar AK
    Participant

    even now no success!!


    Akshar AK
    Participant

    Even if i remove that line still am getting the same error. Even tried removing cache. 🙁


    Akshar AK
    Participant

    I just removed cellsformat: ‘F2’ and its working fine now. Thanks.


    Akshar AK
    Participant

    Hello 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);
        			           } 
       
    	 	     
    	     	  }); 
    in reply to: Grid focus on Double click Grid focus on Double click #55508

    Akshar AK
    Participant

    but after tat if I move the mouse why will all the cells on which the mouse move be selected?

    in reply to: Grid focus on Double click Grid focus on Double click #55499

    Akshar AK
    Participant

    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.


    Akshar AK
    Participant

    Hello 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??


    Akshar AK
    Participant

    or is there any way to make the horizontal scrollbar fixed and doesnt move untill i use my mouse to scroll?

    in reply to: Filters not working Filters not working #53044

    Akshar AK
    Participant

    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’);

    in reply to: Filters not working Filters not working #53035

    Akshar AK
    Participant

    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.

    in reply to: licence Of JQWidgets licence Of JQWidgets #53030

    Akshar AK
    Participant

    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?


    Akshar AK
    Participant

    i 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?

    in reply to: Search Option for the Forum Search Option for the Forum #31934

    Akshar AK
    Participant

    Oops Sorry!! Thanks..


    Akshar AK
    Participant
    cellsrenderer: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???


    Akshar AK
    Participant

    Hello 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 is

    SCRIPT438: Object doesn't support property or method 'indexOf' 
    jqxgrid.js, line 7 character 103889
Viewing 15 posts - 1 through 15 (of 19 total)