tony

Forum Replies Created

Viewing 15 replies - 3,466 through 3,480 (of 7,981 total)
  • Author
    Replies
  • in reply to: About gridstate and setGridState #92296
    tony
    Keymaster

    Hello,

    Could you please post your code?

    Best Regards

    Tony

    in reply to: IE 7-8 True Scrolling Bug when zoom 100% #92295
    tony
    Keymaster

    Hello,

    Thanks. Will check this.

    Best Regards

    Tony

    in reply to: serializeEditData #92294
    tony
    Keymaster

    Hello,

    Please use the 3.6.2, the version from GitHub is not stable.

    There are some changes on this, but I'm not sure how to reslove these whitout to change some behaviour.

    The main thing here is if we have in the grid column named id and this is the key column.

    In case, if we want to insert the key 'id' in the db, this is overwritten by the edit form.

    So I will try to prepare some things which will do our life easy – like configurable options for the id, oper and etc.

    Best Regards

    Tony

    in reply to: loadonce and still use refresh #92276
    tony
    Keymaster

    Hello,

    Look into the docs there is a method called

    sortGrid

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods#add_on_grid_methods

    Regards

    Tony

    in reply to: Loading grid with jqGridImport & loadonce #92275
    tony
    Keymaster

    Hello,

    Could you please send me the string that is used in jqGridImport?

    Also which version is used.

    One feature request; would it be possible to get somekind of failure event when importing grid?

    Thanks for this. I have missed this. ajax options will be added in this method and this will be available in the upcomming 3.6.3 release.

    Best Regards

    Tony

    in reply to: php jqgrid #92271
    tony
    Keymaster

    Hello,

    I think this is wrong forum. Please post your question here

    http://www.trirand.net/forum/

    Best Regards

    Tony

    in reply to: Dynamically Populate Select Dropdown #92270
    tony
    Keymaster

    Hello,

    On your

    in reply to: persist sortable rows #92269
    tony
    Keymaster

    Hello,

    Of course this is the right situation. Every time you are back to page 1 the page is reloaded with the grid again.

    Maybe you will need to use cookie. Search this forum an you will find a solution

    Best Rgards

    Tony

    in reply to: How to use struts global error messages with sj:grid? #92268
    tony
    Keymaster

    Hello,

    Suppose there should be answer here. Sorry I'm not familiar with struts.

    Best Regards

    Tony

    in reply to: Upgrade from 3.4.4 to 3.6.2? #92267
    tony
    Keymaster

    Hello,

    I think that upgrading is recommended if you want to use more and more features of the grid.

    Also there is short upgrade process here:

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:upgrade_from_3.4.x_to_3.5

    Best Regards

    Tony

    tony
    Keymaster

    Hello,

    Her you can do it easy

    var myeditoptions = {

    // put here your options

    }

    $(“#mygrid”).navGrid('#pager',{…},myeditoptions, {},…);

    ondblClickRow: function(id){

    jQuery(”#appList”).jqGrid('editGridRow', id, myeditoptions);

    You should have a clear decision on what should be happen when you double click – add or edit, but not both.

    Options for add does not work for edit.

    Regards

    Tony

    in reply to: Showlink does not work #92265
    tony
    Keymaster

    Hello,

    Could you please dump the colModel after the grid is created, and see what you have for this column

    comething like (using FireBug)

    console.log( $(“#mygrid”).getGridParam('colModel') );

    Regards

    Tony

    in reply to: Adding a parameter to Edit Form submit #92264
    tony
    Keymaster

    Hello,

    If you post the code, it will help me to see what you do.

    Generally, you can set this like this (suppose you call the method separatley – if in navigator set this in the place of edit and/or add options)

    $(“#mygrid”).editGridRow(rowid, {editData: {mykey:'myvalue'…},…});

    Best Regards

    Tony

    in reply to: Can’t use editRow, delRow with form. #92263
    tony
    Keymaster

    Hello,

    Create a empty file and point to it.

    Regards

    Tony

    in reply to: How do i get row data from gridComplete event? #92262
    tony
    Keymaster

    Hello,

    Try this in the subgrid:

    gridComplete : function() {

    var firstid = $(“tr:first”, “#”+subgrid_table_id).attr(“id”);

    var mayfirst_data_row = $(“#”+subgrid_table_id).getRowdata(firstid);

    }

    Regards

    Tony

Viewing 15 replies - 3,466 through 3,480 (of 7,981 total)

Stay connected with us in your favorite flavor!