tony

Forum Replies Created

Viewing 15 replies - 7,681 through 7,695 (of 7,981 total)
  • Author
    Replies
  • in reply to: I need Cell links but with disabled onrowselect. #82511
    tony
    Keymaster

    Currently this is not possible, but this is great idea which I will try to implement – that is: onSelectRow should accept two parameters – the id of the selected row and which column is clicked – this way this will solve your problem.

    Thanks
    Regards
    Tony

    in reply to: Inline editing with Master Detail Grid #82507
    tony
    Keymaster

    It is event like onSelectRow.

    onSelectRow : function(rowid){
    // do something here
    },
    ondblClickRow: function(rowid) {
    // do something here
    }

    in reply to: how to add a url for cell? #82505
    tony
    Keymaster

    Just add a href tag into the string and send it to the grid
    There are a couple of such examples here, but I can’t find it – since the forum software is not good. (It will be chaged soon)

    Regards
    Tony

    in reply to: callback function in automatic inline editing mode? #82504
    tony
    Keymaster

    Will be added.

    Regards
    Tony

    in reply to: Inline editing with Master Detail Grid #82503
    tony
    Keymaster

    Use onSelect Row of master to obtain the detail lines and
    ondblClickRow (in master ) to edit that record

    Regards
    Tony

    in reply to: Error message after initial install #82502
    tony
    Keymaster
    in reply to: Submit form to function instead of editurl #82501
    tony
    Keymaster

    To this function can be passed a parameter with array data. Something like

    var SaveRecord = function(posdata) {
    // this is a data to be posted

    }

    Regards
    Tony

    in reply to: How do I create an initial persistant filter? #82500
    tony
    Keymaster

    use postData array – see User modules in the docs – if I understand you right.

    Regards
    Tony

    in reply to: How to handle error from the server ? #82498
    tony
    Keymaster

    Currently there is only on alert when some error occur. I will change this behawior with from $.post to $ajax so we can handle when error for server.

    Regards
    Tony

    in reply to: use javascript XML object in jqGrid #82497
    tony
    Keymaster

    Really do not understand – please describe simple.
    Maybe you can use poasData extension – see docs

    Regards
    Tony

    in reply to: Bugs in documentation #82496
    tony
    Keymaster

    bigjoe,

    Thank you for this.
    First – for me is a little difficult to write such documentation.
    I’m not english speaking.
    Second this job is more time consuming as of development of grid.
    Of course good documentation is needed.

    With other words if you have time and want to participate of the jqGrid development you are welcome.

    Thank you
    Best Regards
    Tony

    in reply to: Override id parameter #82484
    tony
    Keymaster

    Currently this is not possible. You can try to use beforeSubmit event to add extra parameters to the ajax request, but not sure if this will work.

    Regards
    Tony

    in reply to: How to handle error from the server ? #82483
    tony
    Keymaster

    Josep,

    loadError is only for the grid data and not for the form edit. Also this a missing function which should be added. Basically you can use afterSubmit event. This event is fired after the response from the server. If you know the returned data you can return true, in all other cases false.

    This event accept two parameter – the data from the server and the array of the posted data. Regards

    Tony

    in reply to: Search and refresh buttons missing #82482
    tony
    Keymaster

    Dave,

    Nothing special – see demos
    jQuery(‘#mygrid’).navGrid(‘#mypager’,{add:false,edit:false,delete:false,search:true,refresh:true},….)

    Regards
    Tony

    in reply to: use javascript XML object in jqGrid #82481
    tony
    Keymaster

    Use onPaging event – this even accept a parameter which button is clicked – i.e. first, last, prev, next – something like

    onPaging: function(sButt) {

    }

    This event fires when the page button is clicked and before populating a data.

    Regards

Viewing 15 replies - 7,681 through 7,695 (of 7,981 total)

Stay connected with us in your favorite flavor!