Forum Replies Created

Viewing 15 posts - 1 through 15 (of 39 total)
  • Author
    Posts
  • in reply to: Filter Row spacing Filter Row spacing #100805

    jccompagnon
    Participant

    Any Plans on fixing it?


    jccompagnon
    Participant

    gotcha, I understand now I will give it a try. thank you


    jccompagnon
    Participant

    Hi,
    My grid is already in virtual mode.
    but I am not sure how I can make a filter that would compare A and C
    I get the back end if I send a special filter code that I can then recuperate and generate the data based on that special filter code but how do I have that custom filter sent to the back end


    jccompagnon
    Participant

    Thank you.
    I had .mousedown instead of .click on the event
    .click works as designed

    in reply to: Tabs & iFrames Tabs & iFrames #73027

    jccompagnon
    Participant

    shimmoril, did you ever find a solution to this problem? I have a jqxgrid inside jqxtabs and the bottom of the grid is always cut off.


    jccompagnon
    Participant

    alright so after more research on this.
    In virtual mode.
    It seems that
    rendered: callback seems to be called when the grid is rendered by first call, sort, filter so it works great to trigger my long running script there

    however it still does not work when the grid next and previous page are clicked.

    Is there a call back for when these are clicked ?
    In virtual mode it reloads the datasource ? Is there a call back there that can be used ?


    jccompagnon
    Participant

    there see we are getting somewhere with AJAX. The problem is that I need to do the setCellValue AFTER the long script or AJAX has ran.
    So I can’t do it inside ready:
    OR I have to leave the long running script inside ready:

    If I put the long running script in an AJAX somewhere in ASINC true I also have to put the setCellValue there
    so yes ready is safe. let’s say it hard and loud. ready is safe.
    However per the long running script I cannot put it in ready so where can I put it as well ?

    When we use virtual mode and there is a sort, then a call back is triggered.

    What callback is triggered when a page button is called ?


    jccompagnon
    Participant

    here
    run this in chrome

    http://jsfiddle.net/4zxm5fv3/

    the grid does not display till the large loop (simulating a long running call)
    this is a long running script on purpose to simulate or problem

    We need to
    – 1 completely display the grid
    – 2 after the very long loop (simulating a long running call) update the cellValue


    jccompagnon
    Participant

    ok so where do I put setCellValue for it to work in virtual mode ?

    Also the fact that it is in virtual mode does not explain the browser not rendering of the grid in chrome and IE

    Also the setcellvalue is indeed working fine on the first loaded page

    I have added a wait of 0.3 second and that forces the grid to then render (see bellow).
    have you watched the video I posted above to see the behavior?

    What is upsetting is that I feel being completely being dismissed by support here.
    We come here for help. not to get smart comments.
    I took the time to make a video to show the problem. I took the time to post code.
    and you give me a 1 line answer without even addressing why there is this lag in loading the grid on the video.
    Then you tell me that in Virtual Mode it will not work with ready. great but you of course do not tell me where I then have to put it for it to work.
    I am asking you how to make it work and what I get from you is the way I did it will not work….. I know that. Guess what. That’s why I am here asking for help.
    Have you watched the video?
    Can we get more than a 1 line answer dismissing me?

    ready: function() {
    setTimeout(function () {
    var data = $(‘#jqxgrid’).jqxGrid(‘getrows’);
    for (var i = 0; i < data.length; i++) {
    expandData.push(false);
    var Row = data[i];
    // ——————————————-
    // let’s load extra data
    // ——————————————-
    $.ajax({
    url: “/inventory/dowehavethebuyboxajax”,
    type: “POST”,
    cache: false,
    async: false,
    data: Row,
    success: function(response) {
    if(response==1) {
    $(“#jqxgrid”).jqxGrid(‘setcellvalue’, i, “dowehavebuybox”, ““);
    } else {
    $(“#jqxgrid”).jqxGrid(‘setcellvalue’, i, “dowehavebuybox”, “”);
    }
    },
    });
    }
    }, 300);


    jccompagnon
    Participant

    and one more to add while I am at it.
    In virtual mode (we are using virtual mode)
    Ready is not triggered again on datasource update.
    For example when you go to next page in virtual mode. Ready is not triggered a 2nd time


    jccompagnon
    Participant

    for note. it is rendering fine on Firefox.
    Not on chrome
    Not in IE


    jccompagnon
    Participant

    did you look at my post peter?
    I am using “setcellvalue” in “ready”
    have you looked at the video

    the grid is NOT rendering on ready

    I did put setcellvalue in the ready function.
    Do you even read these post or replies we post ?


    jccompagnon
    Participant

    it seems that there should be a way to pass or to memorize the query so that if the user does select all for example that we can run an update on all the rows that match the previous condition clauses


    jccompagnon
    Participant

    Hi Peter,
    Looks good on paper but in practice not for me:
    https://youtu.be/fpw4BXiWf7U

    in the video you can see the grid loads almost instantly. Then the Loading Gif stops to spin.
    This is when we load the extra data via Ready as bellow.

    ready: function() {
    var data = $(‘#jqxgrid’).jqxGrid(‘getrows’);
    for (var i = 0; i < data.length; i++) {
    expandData.push(false);
    var Row = data[i];
    // ——————————————-
    // let’s load extra data
    // ——————————————-
    $.ajax({
    url: “/inventory/dowehavethebuyboxajax”,
    type: “POST”,
    cache: false,
    async: false,
    data: Row,
    success: function(response) {
    if(response==1) {
    $(“#jqxgrid”).jqxGrid(‘setcellvalue’, i, “dowehavebuybox”, ““);
    } else {
    $(“#jqxgrid”).jqxGrid(‘setcellvalue’, i, “dowehavebuybox”, “”);
    }
    },
    });
    }
    ….

    So the problem is that the grid is not being rendered when ready
    It should load the grid that has another loading gif in the cell and as the cell data is pulled via ajax it should then load and replace the cells as the data comes


    jccompagnon
    Participant

    right ok but that does not help me.

    we have a large table (100,000 rows)
    so you tell us to use Virtual Mode.

    But then we can’t edit multiples rows

    it’s a catch 22 here you say to do A but we can’t do B you say to do B but we can’t do A

    it would be nice to get help on how others are dealing with these challenges rather than BSing me that it’s by design.
    We don’t ask questions here to get the run around.
    We ask questions to get answers to technical chalenges

Viewing 15 posts - 1 through 15 (of 39 total)