jQWidgets Forums

Forum Replies Created

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

  • Brett lee
    Participant

    Hi jqwidgets team,

    We are very much interested to buy the commercial license of jqwidgets,but the export issue has become the show stopper now. When I export the data of a grid it always go to your site and download the file. I cant see any network traffic but it goes to your site. As a work around you have shown to export the grid data into a local variable and export. Still it shows a popup saying Do You want to save the file from jqueryGrid.net which is not at all acceptable by the clients.
    We cant send our important data to your servers since banks will have high security policy.

    You have your service implementation in PHP which is not supported by our servers.
    Do you have any service implementation in java??

    It would be better if you have notified it prior that you are using a php service hosted on your servers.

    Since it is a UI frame work we might be using different technology stacks at the backend. It would have been graet if you have given this service implementation in all possible and popular technologies.

    Anticipating a faster reply.

    If you dont have a java service,Guide me with sme code or logic which u have done in php so that we may handle it in java.


    Brett lee
    Participant

    I am facing the similar issue.

    ng-click is not working in the column header renderer and groups renderer where as it is working in cells renderer.

    All I need to do is having a html element in column header on click of it handling a function.
    Please give us some solution as early as possible. We are looking at all ten customisations so that our stakeholders want to buy a license.

    Since we are using angularjs integration we cant go for global functions outside our controllers and passing the data will also be difficult.
    Anticipating a fast reply.


    Brett lee
    Participant

    Hi peter,
    Pagination is working now but i can see only empty rows.
    when i checked through debugger it is entering into rendergridrows() function but i find dataAdapter.records as array[0].


    Brett lee
    Participant

    Hi,

    I am trying to do a server side pagination for a dynamically rendered grid where i am not succesfull.

    I have a form on the submit of the form i am constructing a grid and the columns of the grid are rendered from a different service, the data is rendered from a different service.
    I am able to bind the columns and data successfully but not able to do the pagination for it.

    my code goes like dis:
    demoApp.controller(‘studentController’,[‘$rootScope’,’$scope’,’$http’,’treeService’,’$compile’,
    ‘getColumnsService’,’getGridDataService’,’$timeout’,
    function($rootScope,$scope,$http,treeService,$compile,getColumnsService,getGridDataService,$timeout){

    var dataGridOptions={
    width: ‘100%’,
    // height: ‘300px’,
    rowsheight: 20,
    source:dataAdapter,
    sortable: true,
    filterable: true,
    editable: true,
    selectionMode:’none’,
    pageable: true,
    pagermode: ‘simple’,
    columnsresize: true,
    columnsreorder: true,
    theme: ‘energyblue’,
    showstatusbar: true,
    /*renderstatusbar:renderstatusbar,*/
    statusbarheight:20,
    showaggregates: true,
    autoshowfiltericon:false,
    autoheight:false,
    groupable:true,
    autoshowcolumnsmenubutton:true ,
    enabletooltips:true,
    pagesizeoptions : [‘5′,’10’,’15’],
    pagesize : 5

    };

    $scope.submitHandler = function(){
    var columnsDef=[];
    var gridData =[];
    $(“#gP-gridDisplayed”).jqxGrid(dataGridOptions);
    getColumnsService.getGridColumnsQuery(reportId).then(function(result){ //angular service call
    columnsDef= result.data;
    $(“#gP-gridDisplayed”).jqxGrid({columns:columnsDef});
    },function(result){
    alert(‘no columns has been recieved’);
    });
    //columns binded
    getGridDataService.getGridDataQuery().then(function(result){
    gridData = result.data;
    console.log(‘grid data is:’+JSON.stringify(gridData));
    var source ={
    datatype:”json”,
    localdata: gridData,
    root:’Rows’,
    beforeprocessing:function(localdata){
    console.log(‘in before processing’);
    source.totalrecords = localdata[0].TotalRows;
    }
    };

    var dataAdapter = new $.jqx.dataAdapter(source);
    dataGridOptions.virtualmode= true,
    console.log(‘printing vitual mode—-***’+dataGridOptions.virtualmode);
    rendergridrows = function(){
    console.log(‘in render grid rows’);
    return dataAdapter.records;
    }

    $(“#gP-gridDisplayed”).jqxGrid({source:dataAdapter});
    //$(“#gP-gridDisplayed”).jqxGrid({source:result.data});

    },function(result){
    alert(‘no data has been returned for grid’);
    });

    }

    }]);

    the only example available in the net is dey prepare data put in data adapter, initialize the grid give it to data adapter.
    in my case the grid is initialized and on a event am binding columns and data to it.

    Help me with a correct example or errors in my code.

    anticipating a reply a early as possible

    in reply to: Select All Checkbox Select All Checkbox #73562

    Brett lee
    Participant

    Hi,
    In the above code you have a datafield:available which is set to false in the response.
    How can we get the default state of check box when we dont have any data field for checkbox column.
    Since we cant control the response of a service, we need to have a checkbox at the header which will select all the visible rows on its selection.

    Please suggest me a way where we can have a checkbox in our grid with default unchecked state without having a datafield.


    Brett lee
    Participant

    Hi,

    I am trying to implement custom filter for the columns.

    I created a text input and two buttons filter and clear and appended to filter panel.
    on the click of filter button am calling applyfilters method . It is throwing an error like this.

    Uncaught exception: cannot read property length of undefined. jquery.min.js.

    Please help me.

Viewing 6 posts - 1 through 6 (of 6 total)