tony

Forum Replies Created

Viewing 15 replies - 7,726 through 7,740 (of 7,981 total)
  • Author
    Replies
  • in reply to: Thickbox Window #82406
    tony
    Keymaster

    Use loadComplete after every request to attach this functionality!

    in reply to: Sorting Rows #82405
    tony
    Keymaster

    Do you mean sortable (something like this in jQuery UI)?

    in reply to: Reload Edit Form #82399
    tony
    Keymaster

    If I understand you right – you want to refresh the select element every time you click to add or edit form. Is this true?

    Tony

    in reply to: How to achive a Yahoo mail style grid? #82398
    tony
    Keymaster

    Hi
    1. “Add image to the cell header” – never try but should work –

    colNames :
    I.e add a image link in colNames.
    The upcoming release (not published) add a method setLabel where we can add a class, diffrent text and etc to column header.

    2. “Image in the cell data” – this need to be improved

    3. “Grid resize” – need a new method for this will see what I can do

    4. “About the sort icon” – will be added in the upcomming release

    Thank you.

    Tony

    in reply to: Can UI Datepicker be added to navigation example? #82397
    tony
    Keymaster

    Sorry forgot to tell that there are some problems related to z-index in jqModal and UI Datepicer. We have a couple of ways to solve this.

    1. Open jqModal.js and set the zIndex value to something like 900. UI Datepicker use a z-index 1001.

    2. Open UI Datepicker CSS and set the zindex to 3200 by example

    3. Open grid.formedit.js find function viewModal and add on additional option
    zIndex:900

    This will solve and the second problem

    Regards
    Tony

    in reply to: Override id parameter #82391
    tony
    Keymaster

    Gregg,

    You just can play with editoption – in you case the primary is in grid,
    then set this in colModel

    {name:”my_primary_key”, key:true,…,editoptions:{readonly:true}}

    In this case the id is the primary key and in editform the key is visible, but can not be edited.

    Enjoy
    Tony

    in reply to: Reload Edit Form #82389
    tony
    Keymaster

    What you try to do actually?

    in reply to: Reload Edit Form #82388
    tony
    Keymaster

    You can update the form values too – you have the id of the form and the names and id are the same as these in colModel

    in reply to: Reload Edit Form #82386
    tony
    Keymaster

    You should update grid values and not form values. Data is read from the grid.

    in reply to: Override id parameter #82385
    tony
    Keymaster

    If you want to not to use id you can use hidden fields in colModel. This hidden field is actually your “id”. Hidden fields are posted too. You can obtain them via standart POST (in case of php)

    in reply to: Cannot save to MySQL #82384
    tony
    Keymaster

    Actually no. You should be sure that the data is updated with success and notify user if this is not so. See docs and examples haw this can be done

    Regards

    in reply to: Save state #82383
    tony
    Keymaster

    Maybe you should get the cookie value and put in options array. If you have firebug you can see what is the cookie value.

    Regards

    in reply to: Save state #82380
    tony
    Keymaster

    Yes there is way to that.
    use getGridParam() without any name.

    This will return all the state of the grid – i.e – the entry parameters of the grid. Save this in cookie and use this in options array

    Something like
    parm_grid = {…} // here are all the grid parameters

    if( cookie_does not exists) {
    $(“#mygrid”).jqGrid(param_grid);
    } else {
    $(“#mygrid”).jqGrid(cookie_here);
    }

    Regards
    Tony

    in reply to: Upload file #82379
    tony
    Keymaster

    Hi,
    Please read the docs. To this function are pased two parameters – the ARRAY of posted values and the id of the form;

    So
    beforeSubmit: function (aData, form_id) {

    // to upload you shold use aData.my_field_with_url
    // and the return at least at least array with one value
    // something like

    if( upload_via_ajax = succes ) return [true,”];
    else return [false,’error msg’];
    }

    Regards
    Tony

    in reply to: FCKeditor #82378
    tony
    Keymaster

    Maybe there is API in fck that can change dynamically the content ?!?

Viewing 15 replies - 7,726 through 7,740 (of 7,981 total)

Stay connected with us in your favorite flavor!