chillifire

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • in reply to: jqGrid: How do I sum the values in columns and use result #96830
    chillifire
    Participant

    OK, here is a project solution – works for me. May need some more REGEX magic for theNOT type operators, and you need to add a numerical comparison in parallel to the regex for lt, le, gt, and ge, plus an array comparison for in, ni. Maybe there is a better way of doing the filter comparison , so please if anyone else is interested, they can add to this solution. It will certainly work fine with a searchToolbar, with the standard bw operator and more common character based comparisons. It also takes care of case sensitivity using the “i” option of the RegEx object.

    Any improvements welcome, although performance is good, testing on 10.000 records the sum builds as fast as the underlying grid – no decernable delays.

    Here goes. Relevant parts in bold/italic:

    jQuery(“#listSales”).jqGrid({

    in reply to: Reload of grid data does not work for grids with #96814
    chillifire
    Participant

    [SOLVED]

    Indeed this soled the problem.l Brilliant!

    I need to get used to the asynchronous nature of ajax. I am stuck in my procedural programming world. (Just goes to show my age Smile)

    BTW: Is there anyway to mark a topic as solved?

    And to give ace responses like yours some kudos/feedback?

    Anyway, many thanks, Oleg.

    chillifire
    Participant

    [SOLVED]

    Just discovered the

    in reply to: Totals on local data for userdata #96801
    chillifire
    Participant

    I am not the only one looking for this function: /blog/?page_id=393/help/jqgrid-how-do-i-sum-the-values-in-columns-and-use-result/#p21127

    in reply to: jqGrid: How do I sum the values in columns and use result #96800
    chillifire
    Participant

    Hi,

    I don't think what you are trying to do is contrary to how jqGrid

Viewing 5 replies - 1 through 5 (of 5 total)

Stay connected with us in your favorite flavor!