tony

Forum Replies Created

Viewing 15 replies - 6,781 through 6,795 (of 7,981 total)
  • Author
    Replies
  • tony
    Keymaster

    Hello,

    The alert modal is created only once and you can use the every time

    you want. The id is alertmod. Something like

    in afterShowForm event

    var masterid = $(”#master”).getGridParam(”selrow”)

    if(masterid == null ){

    // the editing modal is combination of editmod + id of the grid

    // suppose you have detailgrid with detail id then

    $(”#editmoddetail”).jqmHide();

    ViewModal(”#alertmod”);

    }

    Or a better way is to define custom buttons and handle this logic.

    without using afterShowForm

    Regards

    Tony

    in reply to: themeroller #84366
    tony
    Keymaster

    Hello Dave,

    Look really amazing. Thank you.

    Regards

    Tony

    in reply to: Complete Reload #84365
    tony
    Keymaster

    Hello,

    Try this

    $(“#mygrid”).setGridParam({searchdata:{}}).trigger(“reloadGrid”)

    This will set the search data to empty array and will reload the grid

    Regards

    Tony

    in reply to: Grid as SubGrid (multiple) #84364
    tony
    Keymaster

    Hello,

    Yes it is possible to have 2,3…n subgrids 🙂

    Regards

    Tony

    in reply to: HTML Table Mode #84363
    tony
    Keymaster

    Hello,

    not sure what you mean, but you can use tableToGrid function

    to convert existing html table to grid.

    Regards

    Tony

    in reply to: Grid as SubGrid – AddRecord – recreateForm #84362
    tony
    Keymaster

    Hello,

    You can use the option

    clearAfterAdd : false

    which does not clear the entered values, but I think this is not

    applicable for you. I have added afterComplete event which fires after

    the recortd is posted and inserted to the grid. This will be available in the next release.

    Regards

    Tony

    in reply to: Parsing XML …. #84361
    tony
    Keymaster

    Hello,

    As of the docs you can not get value from attribute tag. It is only possible for the id

    Regards

    Tony

    in reply to: A new Tree Grid component #84346
    tony
    Keymaster

    Hello,

    What you mean with IE7 does not render it correctly?

    Does this happen when you try to resize a form or move it

    Regards

    Tony

    in reply to: horizontal scrollbar examples #84345
    tony
    Keymaster

    Hello,

    Yes this is one think that can be do it better. See Roadmap in this forum.

    Regards

    Tony

    in reply to: Grid Data reload #84344
    tony
    Keymaster

    Hello,

    You can not use GridUnload if you do not load the needed files for this

    Regards

    Tony

    in reply to: Grid as SubGrid – beforeShowForm – Set Value #84343
    tony
    Keymaster

    Hello,

    I suppose you use grid as subgrid

    When you open the subgrid in subGridRowExpanded the

    second parameter is the id of the row – then

    subGridRowExpanded : function (sub_id, row_id) {

    $(“#mygrid”).setSelection(row_id);

    }

    This will select your row.

    Regards

    Tony

    in reply to: Hidden Columns Set to   After Save #84342
    tony
    Keymaster

    Hello,

    Thanks, Yes there is a bug for this. Thank you. It is corrected.

    Best Regards

    Tony

    in reply to: editoptions in jqgrid #84341
    tony
    Keymaster

    Hello,

    Refere to PHP functions how to convert SQL query result to

    the string that is acceptable in jqGrid.

    Regards

    Tony

    in reply to: jsonreader can it read this? (Lotus Domino created JSON) #84340
    tony
    Keymaster

    Hello,

    Hello,

    The attribute in XML can be used only for the id – to work this

    TS1

    TS2

    {name:'cell1',index:'cell1',xmlmap:'cell1'…}

    xmlReader : {

    repeatitems : false,

    row : “row”

    root : “here_is _your_root”,

    }

    Also refere to jsonReader in the docs on what you can do with it

    Regards

    Tony

    in reply to: Is it possible to hide a row based on column data??? #84339
    tony
    Keymaster

    Hello,

    What type of data do you use?

    In your ressponse there is a special tag for the row id. Refere to docs

    Regards

    Tony

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

Stay connected with us in your favorite flavor!