kgrogers

Forum Replies Created

Viewing 10 replies - 31 through 40 (of 40 total)
  • Author
    Replies
  • in reply to: Export to Excel after Columns Chooser #124735
    kgrogers
    Participant

    Well heck  😉

    Thanks for the quick response and I am looking forward to the next release.

     

    Ken

    in reply to: Show/Hide export button #124722
    kgrogers
    Participant

    So I finally figured it out.  Here’s what I did that worked:

     

    [code language=”php”]
    $setNav =<<<SETNAV
    function() {
    var numrecs = $(‘#grid’).jqGrid(‘getGridParam’,’records’);
    if (numrecs < 200000) {
    $(‘#pager_excel’).show();
    } else {
    $(‘#pager_excel’).hide();
    }
    }
    SETNAV;
    $grid->setGridEvent(‘gridComplete’,$setNav);
    $grid->setNavOptions(‘navigator’,array(‘add’=>false,’edit’=>false,’del’=>false,’view’=>true,"columns"=>true));
    // Run the script
    $grid->renderGrid(‘#grid’,’#pager’,true, null, null, true,true);
    [/code]
    I’d still like to know how to get code to show up as code after submitting a post though.

    Ken

    • This reply was modified 10 years, 3 months ago by kgrogers.
    • This reply was modified 10 years, 3 months ago by kgrogers.
    • This reply was modified 10 years, 3 months ago by kgrogers.
    • This reply was modified 10 years, 3 months ago by kgrogers.
    • This reply was modified 10 years, 3 months ago by kgrogers.
    • This reply was modified 10 years, 3 months ago by kgrogers.
    in reply to: Show/Hide export button #124721
    kgrogers
    Participant

    And if you could tell me how to show the code I posted as code I’d appreciate that too.

    in reply to: Missing and eroneous Documentation #124713
    kgrogers
    Participant

    MymsMan:

    I’ve been a customer of their php suite for the past three years or so and I have had the exact same complaint as you regarding their documentation,  and I’ve been getting the same promise, that “we know it’s out of date/incomplete and we will have it fixed/updated very soon”.

    At this point I doubt that they will ever have decent documentation.

    in reply to: Northwind Demo Database #123778
    kgrogers
    Participant

    That would make a rather large download.  At least I now know that I can just add the table in my local database and if I want I can load it with dummy data.

    Thanks for the explanation.

    Regards!

    Ken

    in reply to: Jqchart support #120652
    kgrogers
    Participant

    Thanks, Tony.

    I for one use the jqCharts library probably more than any other.  I’m very relieved that you are working with them to get this done.

    Ken

    in reply to: Jqchart support #120095
    kgrogers
    Participant

    Do you have a plan in place to acquire the rights to distribute the Highcharts library, and if so, when do you expect that to happen?

    in reply to: Tooltips for Column Headers #115370
    kgrogers
    Participant

    Oh, I see now what you mean by the problem of the code – I just noticed that you had reformatted it.  Not sure what that issue is – I used the code editor and the result is what you see in my post above.  This new forum software is really very strange to me, so I guess I am doing something wrong.

    I think what would really help me out with this header problem would be an example on your demo page for a multiline pivot grid.  Just saying… 😉

    • This reply was modified 11 years, 3 months ago by kgrogers.
    in reply to: Tooltips for Column Headers #115369
    kgrogers
    Participant

    No, I am not using a MAC to paste code, I am on a Windows 7 computer.  Not sure what you mean by a problem – the code looks Ok to me when I look at that post.

     

    Anyway, it doesn’t matter what colName I use in the setLabels method (the <th> id for the Queue and UpstreamQ headers are grid_East_sum_0, grid_East_sum_1, grid_North_sum_0, grid_North_sum_1, grid_West_sum_0 and grid_West_sum_1) for ANY of the headers – I can’t get the title to change, which leads me to believe that I have the right method but I am applying it wrong.

    In my mtas.php code I set a variable:

    Then near the end of the script I call it with the setJSCode method (just before the renderPivot call):

    This doesn’t do anything, so my questions are these:

    Do I need a function around the jquery code in the $hdrTitle script (and if so, what would it look like) ?

    Is calling the setJSCode($hdrTitle) the appropriate call and placement within the mtas.php script?

    Is the id of the <th> line for each of the Queue/UpstreamQ headers the correct name value to use in the setLabels call?

    • This reply was modified 11 years, 3 months ago by tony.
    • This reply was modified 11 years, 3 months ago by tony.
    in reply to: Tooltips for Column Headers #115318
    kgrogers
    Participant

    Tony:

    So I tried using that code in my script but I guess I am not putting it in the right place because I never see the ‘replaced’ title. Here’s my code:

    • This reply was modified 11 years, 3 months ago by tony. Reason: Code not formated
    • This reply was modified 11 years, 3 months ago by tony.
Viewing 10 replies - 31 through 40 (of 40 total)

Stay connected with us in your favorite flavor!