tony

Forum Replies Created

Viewing 15 replies - 5,401 through 5,415 (of 7,981 total)
  • Author
    Replies
  • in reply to: Some tweaking to css for header #87412
    tony
    Keymaster

    Hello,

    Could you please post the jqGrid configuration.

    REgards

    Tony

    in reply to: extending the editoption readonly #87374
    tony
    Keymaster

    Hello Markus,

    You can do this in inline edit without these changes in the code.

    Here is the easy way

    1. Before edit the row get the data from it using getRowData let say myextdata

    2. Remove the values myextdata that are editable

    (I think there is a easy way to construct this array. Maybe you will get only the values that are needed and construct the appropriate array)

    3. Before posting to the server set the extraparam=myextdata

    Regards

    Tony

    in reply to: Inline edit add data to post #87366
    tony
    Keymaster

    Hello

    http://www.secondpersonplural.ca/jqgriddocs/_2eb0gnypn.htm

    Look at extraparam

    Regards

    Tony

    in reply to: add / edit records #87365
    tony
    Keymaster

    Hello,

    Which version. Can you provide a link to the problem?

    Regards

    Tony

    in reply to: autowidth bug? #87364
    tony
    Keymaster

    Hello,

    This is not a bug, but a way that autowidth works. This option resize the initially grid to the width of the parent element.

    In your case you hide some columns after the grid is setted.

    Also you can use the following trick

    loadComplete:function(){

    var gw = parseInt($(“#mygrid”).getGridParam(“width”));

    // do here hide of columns

    // at end

    $(“#mygrid”).setGridWidth(gw-0.01,true);

    }

    Regards

    Tony

    in reply to: editoptions and special characters #87362
    tony
    Keymaster

    Hello,

    I sugest you in this case to use the another possibility – set this as object – i.e. we can have in editoptions this

    editoptions:{value:{1:'one',2:'two'…}}

    to represent the selects

    Hope this will help

    Regards

    Tony

    in reply to: autowidth parameter #87361
    tony
    Keymaster

    Hello Jim,

    Yes we should have width. If not set we use a default one (do not remember the value). Also in this case the width of the coulumns is recalculated according to the old and new width.

    As for the final version – I think that the version is done for production except the ugly but in IE browsers where we have a forever loading png images. With other words – when this bug is corrected we will have 3.5.

    Regards

    Tony

    in reply to: delGridrow options data #87360
    tony
    Keymaster
    in reply to: 3.5 – Sub-Grid Formatting #87359
    tony
    Keymaster

    Hello,

    Also in 3.5 and in 3.4.4 we have added align attribute to the subgrid

    in reply to: 3.5 – Multiple Formats #87358
    tony
    Keymaster

    Hello,

    Write your own custom formater function

    var myformatter = function(cellval, opt, data) {

    if( some condition) return value_1

    else if (other condition) return value_2

    else return value3

    }

    in reply to: Select drop down onChange() not working #87357
    tony
    Keymaster

    Hello,

    Check your script for the onChange event. Also refer to e.stopPropagation event – where and why to use

    Regards

    Tony

    in reply to: 3.5 – Sub-Grid Questions #87356
    tony
    Keymaster

    Hello,

    You can provide additional field in the grid which tell the grid that there are no records in the subgrid, then you can unbind the click event of the plus in the subgrid row. See the form messages.

    Regards

    Tony

    in reply to: XML example? #87355
    tony
    Keymaster

    Hello,

    First good starts is a documentation – see tree grids

    in reply to: Minifying jqGrid from GitHub #87354
    tony
    Keymaster

    Hello,

    Will see what I can do. The download manager is in php with a lot of modules that should be enabled.

    Also I build jqGrid with YUI Compressor. In order to compress correct you should set a parameter –charset=utf-8 to the comand line of every module – i.e

    java -jar yuicompressor-2.4.2.jar “grid.base.js” –charset=utf-8 -o “min\grid.base.js”

    Hope this will help

    Regards

    Tony

    in reply to: ID automatically changed on 3.5 #87353
    tony
    Keymaster

    Hello,

    This is not a bug, but the way that jqGrid construct its content. If you go deeper in this div you will find your table with the id jQGrid_List

    Regards

    Tony

Viewing 15 replies - 5,401 through 5,415 (of 7,981 total)

Stay connected with us in your favorite flavor!