tony

Forum Replies Created

Viewing 15 replies - 5,041 through 5,055 (of 7,981 total)
  • Author
    Replies
  • in reply to: Cell validation problem #88131
    tony
    Keymaster

    Hello,

    What you use actually – cell editing or inline editing? Please, make the diffrence (beforeSaveCell is a event in cell editing, but you use code for inline editing – editRow.)

    Regards

    Tony

    in reply to: Dynamically filter select drop down values #88130
    tony
    Keymaster

    Hello,

    Ok – you need dependend selectboxes.

    Maybe you will need to use dataEvents array. Read

    in reply to: Custom Cell Html #88129
    tony
    Keymaster

    Hello,

    Try to use custom unformat functio. Also the unformat is called every time when editing.

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:custom_formatter#unformatting

    Regards

    Tony

    in reply to: 2 Questions about jqGrid (Subgrid) and json(string) #88128
    tony
    Keymaster

    Hello,

    About the second question.

    The addRowData currently does not support this. I suggest you to use datatype as function – see docs and addJSONData method to add data. This method support this named convention.

    Regards

    Tony

    in reply to: 2 Questions about jqGrid (Subgrid) and json(string) #88127
    tony
    Keymaster

    Hello,

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:subgrid#methods

    One note (which I will correct into the docs)

    If you use subGridJson you should use the method this way:

    var mygrid = jQuery(“#mygrid”)[0];

    mygrid.subGridJson(arraydata,rowid)

    in reply to: Populate stype:’select’ with data returned from Server #88126
    tony
    Keymaster

    Hello,

    Thnaks. This was missed in the docs. Now corrected.

    Best Regards

    Tony

    in reply to: Data Grid Entry #88125
    tony
    Keymaster

    Hello,

    Yes, just read the docs for the available methods.

    Regards

    Tony

    in reply to: Custom cell editor #88124
    tony
    Keymaster

    Hello,

    If you print the html using jQuery html you will have in all cases the content and not the element.

    You should make difference between the html and the element.

    I think that this is possible – just try to attach the editor to the element (not to the html) and you will see the result.

    Regards

    Tony

    in reply to: When row width is bigger then width of grid #88123
    tony
    Keymaster

    Hello,

    Sorry – no you should do this manually.

    Regards

    Tony

    in reply to: Cell changed indicator on addRowData #88122
    tony
    Keymaster

    Hello,

    Define your custom class (for 3.5 release) with the dirty cell and use the example above to mark the cell.

    Regards

    Tony

    in reply to: viewing long fields in grid #88121
    tony
    Keymaster

    Hello,

    1), 2) After loading the jqGrid CSS

    .ui-jqgrid tr.jqgrow td {white-space: normal;}

    3) The duration of this depends on browser.

    Regards

    Tony

    in reply to: Editing and adding to the tree data #88120
    tony
    Keymaster

    Hello,

    Currently you can edit and delete data in treeGrid using one of the editing modules. Adding data currently is not supported .

    Best Regards

    Tony

    in reply to: Treeview load in Internet Explorer #88119
    tony
    Keymaster

    Hello,

    With so little information (this will not work – it is not serious) nobody will help.

    Regards

    Tony

    in reply to: scroll into view #88118
    tony
    Keymaster

    Hello glemarie,

    You use this in loadComplete – this will not work – since not all the data is alredy into the grid. Try to use this after the grid is loaded

    and you will see that this will work. Not sure what you try to do, but maybe gridComplete is your event.

    A simple test:

    $(“#mybutton”).click(function(){

    // here your code with set selection

    })

    Regards

    Tony

    in reply to: Automatic escape for cells content #88117
    tony
    Keymaster

    Hello,

    Thanks – added option to encode the server data. Also if you set autoencode to true the data from server will be encoded.

    Regards

    Tony

Viewing 15 replies - 5,041 through 5,055 (of 7,981 total)

Stay connected with us in your favorite flavor!