tony

Forum Replies Created

Viewing 15 replies - 6,721 through 6,735 (of 7,981 total)
  • Author
    Replies
  • in reply to: Problem using Form Edit #84500
    tony
    Keymaster

    Hello,

    1) One possible reason is that you do not have uniquie id for the

    rows. If we have rows which id's equal the grid selection will not work

    correctly.

    2) It is goo to see docs.

    in reply to: checkbox in treegrid #84499
    tony
    Keymaster

    Hello,

    Does this mean that you use treegrid with celledit?

    I will look at this, since it seems to be very usefull.

    Regards

    Tony

    in reply to: missing comma in grid.local-bg.js #84498
    tony
    Keymaster

    Hello,

    Thanks. Will be corrected.

    Regards

    Tony

    in reply to: Field gets deleted if you edit a row twice. #84497
    tony
    Keymaster

    Hello,

    You have posted this in one other post.

    Regards

    Tony

    in reply to: [ask] ui datepicker in rowedit #84486
    tony
    Keymaster

    Hello,

    onInitializeForm: function(formid) {

    $ (”#tgl”,formid) .datepicker ({

    dateFormat:”dd-mm-yy”,showOn:’focus’}) ;

    }

    Regards

    in reply to: Autocomplete #84483
    tony
    Keymaster

    Hello Barry,

    One possible solution is to use the events available in autocomplete –

    i.e. if the value is selected – get the id and set it to the grid using

    setRowData method. I reccomend you to use aftersavefunc for this

    purpose.

    Best Regads

    Tony

    in reply to: [ask] ui datepicker in rowedit #84482
    tony
    Keymaster

    Hello,

    You try to attach a datepicker to nonexisting element.

    When the edit form is created the elements have the id taken from

    colModel name – so if the name (and not the index – index is used

    to perform sorting server side) is tgl then the id in form have the same

    value – with other words to work this you should

    $(”#tgl”).datepicker({…}) and not $(”#tgl_kontrak”).datepicker({..})

    Regards

    Tony

    in reply to: Get data from other #84480
    tony
    Keymaster

    Hello,

    you try to attch a change event to nonexisting element with

    id=optContexte. Did you see element with id=optContexte?

    I do not see this element, only name which is not id.

    Regards

    Tony

    in reply to: How to get total grid data ? #84475
    tony
    Keymaster

    Hello,

    Did you read all the available methods?

    How about to use

    dataid = $(“grid”).getDataIDs()

    // as of the docs

    //array of the id's in the current grid view. Empty array if no data is available.

    Then why not loop throght this array using getRowData

    Regards

    Tony

    in reply to: Grid data not shown in IE6 #84474
    tony
    Keymaster

    Hello,

    The alternative in this way is to use xmlstring.

    Read the docs

    Tony

    in reply to: Get data from other #84473
    tony
    Keymaster

    Hello

    How about this:

    $(”#selector”).change(function(){

    in reply to: Grid data not shown in IE6 #84469
    tony
    Keymaster

    Hello,

    If you do this as local file, this will not work in IE. Also there are a lot

    of messages regarding this in jquery google grup.

    To work this in IE you should use web server.

    Regards

    Tony

    in reply to: Column Names dynamically #84468
    tony
    Keymaster

    Hello,

    One possible solution is to construct the grid after the database request.

    With other words you can have ajax wich obtain colNames and colModel

    from database and pass it to jqGrid.

    Also the next major release will have a method to construct grid dynamically from xml or json data. See roadmap.

    Regards

    Tony

    in reply to: Grid as Subgrid problem #84467
    tony
    Keymaster

    Hello,

    Here is the error:

    You have

    rowdata = jQuery(”#pagersg11″).getRowData(row_id);

    should be

    rowdata = jQuery(”#listsg11″).getRowData(row_id);

    The method should be applied to grid, not to pager

    Regards

    Tony

    in reply to: Redisplaying saved data grid #84466
    tony
    Keymaster

    Open the file that contain JSON.stringify function. Usuallly its name is

    json.js. Just find stringify function and at end of this function add these

    lines.

    Regards

    Tony

Viewing 15 replies - 6,721 through 6,735 (of 7,981 total)

Stay connected with us in your favorite flavor!