jQWidgets Forums

Forum Replies Created

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

  • ravikiran1226
    Participant

    please help us on the above


    ravikiran1226
    Participant

    I have used selection mode for grid ( selectionmode: ‘checkbox’). In this case, requirement is to fireevent on the checkbox enable/disable.

    Regards,
    Ravikiran A

    in reply to: Custom grid filters Custom grid filters #64752

    ravikiran1226
    Participant

    Any luck on the above requirement

    in reply to: Custom grid filters Custom grid filters #64706

    ravikiran1226
    Participant

    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 Aita

    in reply to: Custom grid filters Custom grid filters #64660

    ravikiran1226
    Participant

    Hello,

    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

    in reply to: Custom grid filters Custom grid filters #64552

    ravikiran1226
    Participant

    i am not able to attach the image here in the post.

    in reply to: Validate the data in jqxgrid Validate the data in jqxgrid #64385

    ravikiran1226
    Participant

    Hi 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 called

    Thanks in advance.

    in reply to: Validate the data in jqxgrid Validate the data in jqxgrid #64354

    ravikiran1226
    Participant

    Hi 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

    in reply to: Validate the data in jqxgrid Validate the data in jqxgrid #64324

    ravikiran1226
    Participant

    This issue is Not related to editable jqxgrid. My intention here to get the parameter from jqxgrid ajax response header.

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