tony

Forum Replies Created

Viewing 15 replies - 4,096 through 4,110 (of 7,981 total)
  • Author
    Replies
  • in reply to: Select value when enter a cell (celledit) #90964
    tony
    Keymaster

    Hello,

    Also maybe the right code should use setTimeout – i.e:

    setTimeout(function() { $(”#”+iRow+”_”+name,”#mygrid”).select().focus();},10);

    Good practice is to use setTimeout when you try to focus some element. (instead that the timeout can be 0)

    Best Regards

    Tony

    in reply to: Registering a customer formatter #90962
    tony
    Keymaster

    Hello Simon,

    Thanks for this too. There was another bug regrading this. Also I have fixed this and you can download the 3.6.1 release with the fix.

    Best Regards

    Tony

    in reply to: Retrieve the column value of JqGrid #90961
    tony
    Keymaster

    Hello,

    You can see more details here: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:events

    Also maybe you will be interested on 4 parameter the event object.

    Regards

    Tony

    in reply to: cellEdit not updating #90960
    tony
    Keymaster

    Hello,

    why does my edit.php not work in celledit but works with normal edit?

    I can't tell you why – all what you need to do is to check what is passed and what is accepted server side.

    Regards

    Tony

    in reply to: gridComplete reloadGrid #90958
    tony
    Keymaster

    Hello,

    This way we go in

    in reply to: Recall and set column widths #90957
    tony
    Keymaster

    Hello,

    This is partially true. You can set the new width of the column using two methods – setColProp and setGridWidth.

    Here is example of setting new width of the column amount:

    $(”#mygrid”).jqGrid('setColProp','amount',{width:new_width});

    var gw = $(”#mygrid”).jqGrid('getGridParam','width');

    $(”#mygrid”).jqGrid('setGridWidth',gw);

    Regards

    Tony

    P.S. Note that in order to work this a shrinkToFit should be true, or you should call setGridWidth with second parameter true

    in reply to: Re order Rows #90956
    tony
    Keymaster

    Hello,

    As mentioted here : http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jquery_ui_methods#sortable_rows the method uses all options from jQuery UI sortable. Also you can look http://jqueryui.com/demos/sortable/  here and choose which event to use

    Regards

    Tony

    in reply to: How to access row data in custom formatter? #90955
    tony
    Keymaster

    Hello,

    There is a bug for this which is corrected in 3.6.1 relesee.

    Thanks

    Best Regards

    Tony

    in reply to: Maintaining data in a subgrid #90954
    tony
    Keymaster

    Hello,

    Currently – no way to do this – evething is created and destroyed dynamicall, but – actually it is a good idea. I will think for this if this can be done.

    Regards

    Tony

    in reply to: How to fill a dynamic select from json_encoded data ? #90953
    tony
    Keymaster

    Hello,

    Displaying dynamic select does not have to do with xml or json data. You should provide valid html select element – if I understand right the problem

    Regards

    Tony

    in reply to: Using enter to save a row and to add a new line in textarea #90952
    tony
    Keymaster

    Hello,

    The feature will be available for the release after 3.6.1

    Regards

    Tony

    in reply to: Symbol ‘[’ problem #90951
    tony
    Keymaster

    Hello,

    I think that you have problems with the id's of the grid. Check tehse. As I see from the image you can select other items taht have [ in the text.

    It will help me a lot if you publish the grid configuration too.

    Regards

    Tony

    in reply to: IE Display Issues #90950
    tony
    Keymaster

    Hello,

    Well, It is well know that IE have problems when goes to rendering the png images (which actually we have in theme roller).

    Some time I have the same issues in IE.

    (I must ask in which IE exactley you have these problems).

    To resolve the issues I some time instruct IE to cashe the pages – i.e to chech for new version of pages only whenit starts,

    but to be a honest I do not have idea how to resolve this in more natural way.

    Best Regards

    Tony

    in reply to: server error with json_encode #90949
    tony
    Keymaster

    Hello,

    You will get what you return from server. Using xhr.responseText will give you the text of the response.

    xhr.responsXML will give you the xml node.

    Regards

    Tony

    in reply to: setcell gives an error #90948
    tony
    Keymaster

    Hello,

    The right maybe is

    beforeInitData: function (formid)
    {

Viewing 15 replies - 4,096 through 4,110 (of 7,981 total)

Stay connected with us in your favorite flavor!