tony

Forum Replies Created

Viewing 15 replies - 3,781 through 3,795 (of 7,981 total)
  • Author
    Replies
  • in reply to: $t.p is undefined #91635
    tony
    Keymaster

    Hello,

    Maybe you can define ajaxStart event in ajaxGridOptions and then you will know that there is ajax available

    Best Regards

    Tony

    in reply to: columnChooser erratic behavior #91634
    tony
    Keymaster

    Hello,

    Can you reproduce this behaviour in the demo? In demo we use 3.6.2.

    Best Regards

    Tony

    in reply to: closeOnEscape #91633
    tony
    Keymaster

    Hello,

    Check to see if you install everthing.

    In order to reproduce, could you please share your code or provide a link to the problem?

    Best Regards

    Tony

    in reply to: asmSelect does not work as expected #91603
    tony
    Keymaster

    Hello,

    Could you please send a link to the problem or put a test case?

    Regards

    Tony

    in reply to: afterSubmit event #91602
    tony
    Keymaster

    Hello,

    afterSubmit : function (resp, postdata)

    {

    // you should return from server OK in sucess, any other message on error

    if(resp.responseText == “OK”)

    {

    alert(“Update is succefully”)

    return [true,””,””]

    }

    else {

    alert(“Update failed”)

    return [true,””,””]

    }

    }

    in reply to: how to assoicate parent checkox to subgrid checkbox #91601
    tony
    Keymaster

    Hello,

    How do you create the checkbox? – manually using the formatter or you just set multiselect to true?

    Regards

    Tony

    in reply to: Navgrrid Events. #91600
    tony
    Keymaster

    Hello,

    Look here carefully

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing#editgridrow

    What about beforeSubmit event

    Regards

    Tony

    in reply to: Input option image isn’t showing the picture #91599
    tony
    Keymaster

    Hello,

    Please set a edittype to image, and be a sure that you have a avalid src set.

    Also to bind a click use dataEvents.

    For me everthing works ok. The thin momemnt here is the src attribute which should point to a valid image.

    Regards

    Tony

    in reply to: IE7/8 Issues #91598
    tony
    Keymaster

    Hello,

    Could you please give a link to the problem?

    Best Regards

    Tony

    in reply to: Paging and MultiSelect #91597
    tony
    Keymaster

    Hello,

    I wonder how this can be possible automatically from the grid.

    Let investigate what you want (if I understand right) and what is actually.

    The first thing that you have not forget is that the grid is client side representation.

    And now you select some rows at the client, then you click page next button.

    What is happen? – the data from grid is cleared expecting the new one from server – right?

    Clearing the data from grid of course we clear the selected rows.

    In order to achive this you should remember the page and the selected rows in array and use a lot of grid events to restore them

    (onPaging, onSortCol, gridComplete)

    Best Regards

    Tony

    in reply to: changing row color or font conditionally #91596
    tony
    Keymaster

    Hello,

    The reason that is not answerd is that this requirmend is discussed many times here and you can find them using the search button.

    Any way you can use afterInsertRow event (do not forget to set gridview mode to false in this case)

    You can find more about this event here:

    http://www.trirand.com/jqgridw…..iki:events

    Regards

    Tony

    in reply to: Multiple open cells for editing #91595
    tony
    Keymaster

    Hello,

    I'm not sure what you use – inline editing or cell editing – there is a difference.

    Anyway you can set async:false for the dataUrl – this is done with ajaxSelectOptions

    This can be set in the grid options

    Best Regards

    Tony

    in reply to: Exit edit mode programmatically #91594
    tony
    Keymaster

    Hello,

    Another solution is to point to a dummy existing editurl

    in reply to: Triggering Subgrid Form upon saving new record in main grid #91593
    tony
    Keymaster

    Hello,

    Sorry not understand?

    Refer here what you have for subgrids

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:subgrid#events

    Regards

    Tony

    in reply to: How to add a save button ? #91592
    tony
    Keymaster

    Hello,

    navButtonAdd – add a button in the pager. If you do so every time a button will be added in the pager.

    My suggestion is: add the button when you initialize the grid and the show/hide them when you edit/save the row

    $(”#mygrid”).jqGrid({

    ..

    });

    $(”#mygrid”).jqGrid('navButtonAdd','#pager',{id:'mysaveid',…});

    $(”#mysaveid”).hide();

    and then in beforeSelectRow just to show the button and after saving to hide them again.

    Best Regards

    Tony

Viewing 15 replies - 3,781 through 3,795 (of 7,981 total)

Stay connected with us in your favorite flavor!