tony

Forum Replies Created

Viewing 15 replies - 4,486 through 4,500 (of 7,981 total)
  • Author
    Replies
  • in reply to: custom formatter function always returns string #89881
    tony
    Keymaster

    Hello,

    Thanks – it is a bug in jgrid.stripHtml function. Fixed in GitHub

    Best Regards

    Tony

    in reply to: Using edittype:”checkbox” #89880
    tony
    Keymaster

    Hello,

    Yes it will be in 3.6 release

    Regards

    Tony

    in reply to: Hidden fields not posted during editGridRow #89870
    tony
    Keymaster

    IMHO, the problem is in clickedSubmit function, which can overwrite the posted values from the form. To test just disable this function.

    Regards

    in reply to: Using edittype:”checkbox” #89845
    tony
    Keymaster

    Hello,

    Checkbox wil be not supported in serchFilter, but this will help a lot

    colModel : [

    {name:'some',…. stype:'select', serachoptions : {value : “1:Yes;0:No”}… }

    ]

    Instead of setting it into the editoptions.

    Regards

    Tony

    in reply to: shows ‘undefined’ in grid when edittype=select #89844
    tony
    Keymaster

    Hello,

    Your post

    in reply to: Hidden fields not posted during editGridRow #89843
    tony
    Keymaster

    Hello,

    Just tested your case. It works for me ok. In order to resolve I need a link to the problem or at leat the code with the data.

    Thanks.

    Best Regards

    Tony

    in reply to: getRowData while editing a row #89840
    tony
    Keymaster

    Hello,

    Sorry, but it will be not corrected. In order to resolve your problem – there is a event aftersavefunc, where you can call getRowData to get the saved elements.

    Best Regards

    Tony

    tony
    Keymaster

    Hello Pete,

    It is fixed. Thanks.

    Best Regards

    Tony

    in reply to: Using edittype:”checkbox” #89838
    tony
    Keymaster

    Hello,

    Everthing is working correct. It is not a bug – just think, but this tell me that I should add

    in reply to: custom unformat #89809
    tony
    Keymaster

    Hello,

    See the problem. I have added a 3 parameter to the unformat function (present in GitHub 3.6 branch)- cellobject, so you can use it in the custom unformat function like this $(cellobject).html() or whatever you want.

    Regards

    Tony

    in reply to: custom unformat #89808
    tony
    Keymaster

    Hello,

    We have created the formatter so that it can be aesy extended with your own format/unformat function.

    We make it so, because it is not possible to meet all user specific requierments.

    Also to extend the formatter you just need to do

    $.extend($.fn.fmatter , {

    myformatter : function (cellval, options) {

    // do something

    return formated_value;

    }

    });

    $.extend($.fn.fmatter.myformatter ,{

    unformat : function (cell, options ) {

    // do something

    return unformated_value;

    }

    });

    then you will need just to set in colModel

    colModel :[

    { name:'some', formatter:'myformatter'…},

    ]

    Note that this formatter can be used everywhere in your code.

    Regards

    Tony

    in reply to: Customise server access #89806
    tony
    Keymaster

    Hello,

    I'm not sure if you read the docs, but in principe you have to choice two possibilities:

    1. Completley use your own request with options and callbacks what you want. This can be achieved using the grid option datatype as function

    See documentation:

    datatype : function (postdata) {

    // here you jax code or what you want

    $.ajax({..

    complete: function(…) {

    var data = …..

    var mygrid

    in reply to: minor – space between reset button and match #89792
    tony
    Keymaster

    Hello,

    Thanks. I see this behaviour. Will try to correct it in 3.6 final release.

    Best Regards

    Tony

    in reply to: jqGrid and MSThemeCompatible #89791
    tony
    Keymaster

    Hello,

    Not sure what this do (sorry), but could you please try to set the font tag like this:

    body{ font: 62.5% “Trebuchet MS”, sans-serif; }

    Regards

    Tony

    in reply to: Grid height IE8 problem #89790
    tony
    Keymaster

    Hello,

    Could you try to follow exactley the instalation instructions. Do you have defined DOCTYPE in your document.

    Regards

    Tony

Viewing 15 replies - 4,486 through 4,500 (of 7,981 total)

Stay connected with us in your favorite flavor!