tony

Forum Replies Created

Viewing 15 replies - 6,481 through 6,495 (of 7,981 total)
  • Author
    Replies
  • in reply to: Formatted text #84977
    tony
    Keymaster

    Hello,

    When you post data to the server maybe you should send custom headers with iso-8859-1 encoding. See in jQuery docs how to do that – hint you can use beforeSend parameter in the ajax call.

    Regards

    Tony

    P.S. Using CDATA is good idea, but do not forget to use the header function in PHP before sending the data to the grid.

    in reply to: Getting a specific cell object #84976
    tony
    Keymaster

    Hello,

    Not fully understand what you mean, but you can use the new formater in version 3.4 beta

    Regards

    Tony

    in reply to: Add in colmodel default values #84975
    tony
    Keymaster

    Hello,

    The beforeShowForm is called in the parameters for add or edit row. something like this:

    jQuery(”#list2″).navGrid(”#pager2″,{edit:true,add:true,del:false,search:true},{reloadAfterSubmit:true,

    beforeShowForm : function(formid) {

    // your code here

    }

    }, // edit parameters

    {reloadAfterSubmit:true}, // add parameters

    {reloadAfterSubmit:true} // del parameters

    );

    Read the docs first.

    Regards

    Tony

    in reply to: I can´t set up plugin .. #84974
    tony
    Keymaster

    Hello,

    Download the examples to see how you can process. The examples can be downloaded from Demonstration menu of this site.

    Regards

    Tony

    in reply to: grid not repaint itself in pagination … some times #84973
    tony
    Keymaster

    Hello,

    Check the new 3.4 – this problem is avoided.

    Regards

    Tony

    in reply to: Check All broken when using jquery 1.3 #84972
    tony
    Keymaster

    Hello,

    Thank you very much for this. I know about this and that some things are changed in 1.3 of jQuery. I will publish second beta when the 1.3.1 is ready.

    Regards

    Tony

    in reply to: Boolean instead of String #84971
    tony
    Keymaster

    Hello,

    Thank you. This problem is discussed before. I'm not 100% sure, but boolean values are represented as “false” or “true”. For more info refer to json.org

    Regards

    Tony

    in reply to: jqGrid 3.3 with jQuery 1.3 gives problems in IE6 #84970
    tony
    Keymaster

    Hello,

    I will publish beta 2 when Query 1.3.1 is ready

    Tony

    tony
    Keymaster

    Hello,

    You can use getGridParam('selarrrow') to get selected rows when in multiselect mode and use onPaging event (which is raised before populate) to store the selected rows

    Regards

    Tony

    tony
    Keymaster

    Hello,

    Sorry – but I will write this for last. The getRowData is NOT COMPATIBLE with the currently edited fields. There are a lot of other possible solutions for this purpose. How do you call saveCell?

    Use beforeEditCell to store the iCol and iRow values and then perform saveCell with these parameters. See docs

    Regards

    Tony

    tony
    Keymaster

    Hello,

    The most common problem here that you should understand is this: (if I understand right)

    $(item).trigger('reloadGrid');

    After this you should call the expression

    $(item).find('tr#'+$(row).attr('id')).addClass('selected');

    WITH DELAY.

    Use setTimeout for this purpose.

    Regards

    Tony

    P.S. I suggest you to use setSelection for the experssion in blue.

    or if this is not possible you should call setGridParam({selrow:'the_id_here'}) after the expression

    in reply to: Dialog Boxes being in the Centre #84945
    tony
    Keymaster

    Hello,

    It depends on how you call the method. Do you have set a top and left property?

    Remember the position of the modal is fixed – so if you have scrolling page it will be quite possible that this window will appear above and below the grid.

    Regards

    Tony

    in reply to: Formatted text #84944
    tony
    Keymaster

    Hello,

    Use edittype:textarea when you edit the field.

    Regards

    Tony

    in reply to: I need Cell links but with disabled onrowselect. #84943
    tony
    Keymaster

    Hello,

    There is a problem in IE6/IE7 where the cellIndex of the hidden coumns is not calculated right. There are some solutions, but I will try to implement the right one wich will work in jqGrid.

    Regards

    Tony

    in reply to: editRow – extraparams syntax #84942
    tony
    Keymaster

    Hello,

    As of the docs:

    extraparam: an array of type name: value. When set these values are posted along with the other values to the server.

    Regards

    Tony

Viewing 15 replies - 6,481 through 6,495 (of 7,981 total)

Stay connected with us in your favorite flavor!