sagana

Forum Replies Created

Viewing 15 replies - 16 through 30 (of 59 total)
  • Author
    Replies
  • in reply to: Trigger ajax call from change in inline edit dropdown #126784
    sagana
    Participant

    Hi will
    Many thanks for your prompt reply. Unfortunately dropping your code in (or inserting the js:) does not seem to be firing in as much as no alert box pops up.
    Any other ideas please.

    in reply to: Refresh entire page before reload grid #126693
    sagana
    Participant

    Hi Will, basically we need to intercept the process before a grid reload. beforeRequest does this but only on the first creation of the grid and we need to do it any time the grid is to be refreshed, reloaded, searched etc. Is there a method we can invoke to do this. Many thanks.

    sagana
    Participant

    Quite right, many thanks.

    in reply to: datepicker in jqgrid #126604
    sagana
    Participant

    Hi Will

    I am confused as to what I should be setting the various elements to. I have:

    $grid->setColProperty("activeAfter", array("label"=>"Active after", "width"=>30, "hidden"=>true, "searchoptions"=>array("searchhidden"=>true, "sopt"=>array("ge")), "formatter"=>"date", "sorttype"=>"date", "formatoptions"=>array( "srcformat"=>'Y-m-d', "newformat"=>'d/m/Y')));

    and

    Selecting 10th May 2017 in the data picker in the search dialog displays 10/5/2017 in the search dialog. Checking the $_REQUEST after the search gives

    [filters] => {"groupOp":"AND","rules":[{"field":"activeAfter","op":"ge","data":"10/05/2017"}]}

    How do I get this to be 2017-05-10 at this point.

    Many thanks

    in reply to: Get reload grid reset search dialog to empty search criteria #126602
    sagana
    Participant

    Thank you for your prompt response.
    I already have recreateFilter set to true as in

    but it appears the filters are not being cleared.

    Regards
    Murray

    in reply to: Keep search dialog permanently visible #126580
    sagana
    Participant

    We would like the ability to have the search dialog across the top above the grid and have it permanently visible. I know we can put search/filter boxes in the toolbar but these would not work with the hidden fields on which we search. We could do this using javascript but are interested in building it in the php code we use to build the grid.

    in reply to: Capture sql string used to create filtered grid #126574
    sagana
    Participant

    Thank you Tony, that works well.

    in reply to: sortableRows after Drag and Drop #126570
    sagana
    Participant

    Hi Tony

    Thank you for the response. Just to clarify; are you saying this ability to drag, drop and sort is only available between containers but not in jqGrid or should code like the following work with between grids. ie. using the something like the following

    instead of

    in reply to: sortableRows after Drag and Drop #126565
    sagana
    Participant

    Hi Tony

    In grid B I have tried, without success

    It does the same thing of allowing drag from A to B, A to C, B to C and C to B but not allow reordering the rows in B.

    Regards
    Murray

    in reply to: Save to database ondrop #126544
    sagana
    Participant

    Resolved by using

    in reply to: setAfterCrudAction not happening #126537
    sagana
    Participant

    Hi Will, thank you for your time on this. I have got it working by using

    “cellEdit”=>true,
    “cellsubmit”=>”remote”,
    “cellurl”=>”……….php”,

    with

    in reply to: setAfterCrudAction not happening #126533
    sagana
    Participant

    Hi Will, Compliments of the Season to you. The beforeSubmitCell works well to get the relevant values, however it appears the setAfterCrudAction function is not happening. I have debug on and only see the SELECT statements, no UPDATE.

    $tType and $cid do contain the correct numbers at this stage. I cannot see how this differs from the examples in the documentation.

    Regards
    Murray

    in reply to: setAfterCrudAction not happening #126531
    sagana
    Participant

    Is there any way to get data from other columns in a row in which a cell is edited in addition to the rowid and the value of the newly edited cell ?

    in reply to: setAfterCrudAction not happening #126526
    sagana
    Participant

    This is the complete code

    in reply to: Subgrid – no data displaying #126523
    sagana
    Participant

    Further to the above. Is there any way to have the column names in the subGrid different from the column names. For example instead of ‘Licence Start’ in the sub grid have the same wording but translated into another language.

Viewing 15 replies - 16 through 30 (of 59 total)

Stay connected with us in your favorite flavor!