tony

Forum Replies Created

Viewing 15 replies - 7,666 through 7,680 (of 7,981 total)
  • Author
    Replies
  • in reply to: How to get primary id of master row #82545
    tony
    Keymaster

    if “master” is the id for the table you can do

    $(“master”).getGridParam(“selrow”); to get the selected id row of the master

    Regards

    Tony

    in reply to: Intercepting ESC key on inline mode edit #82544
    tony
    Keymaster

    Josep,

    Try to create a button after editing the row.

    Regards

    Tony

    in reply to: Validating a cell on change #82543
    tony
    Keymaster

    Reg,

    The problem in your last post is that you do not pass a parameter to bind

    event. For more information refer to jQuery docs on how to set parameter

    to bind function. I think there is a more simple solution to you problem.

    $(“mygrid”).jqGrid({

    onSelectRow: function(id){

    in reply to: trigger(“reloadGrid”)?bug or not? #82542
    tony
    Keymaster

    Hi,

    Just try in this function – after grid reload use setGridParam({selrow:id})

    Regards

    Tony

    in reply to: how to Change the color of row on server error? #82538
    tony
    Keymaster

    Josep,

    I suppose that you use inline edit. Currently this is not possible. Will be added in 3.2 final

    Regards

    Tony

    in reply to: Button next to fields #82537
    tony
    Keymaster

    Reg,

    If you see my post about cell validation you can easy add content before or after editable filed.

    Regards

    Tony

    in reply to: Validating a cell on change #82536
    tony
    Keymaster

    Reg,

    When you use a inlineedit and when the row is in edit mode the plugin creates anuquie id for that cell which is a combibantion of rowid+_+ the name of the cell. I think that this a simple. Suppose the name of cell is mycell

    var

    in reply to: Documentation #82526
    tony
    Keymaster

    Reg,

    You have made a great job. Thank you.

    I have a question – why do you not ask me for sources of the docs?

    I make it with a great HelpMaker (free software). Now I will think how to synchronize this. Of course you have make a great additional topics which I like them.

    Myabe we should found a way to make the docs public and changed by other users. Will think about this.

    About the PayPall – will add it soon.

    Again thank you for the great job.

    I will write you soon again

    Regards

    Tony

    in reply to: combobox in jqGrid #82531
    tony
    Keymaster

    Julizar,

    Plese refer to this discussion here

    in reply to: hide/show column bug #82524
    tony
    Keymaster

    You are right. Thank’s.
    I known about the bugs in Hide and Show column methods.
    Moreover there is another problem in IE – see this.
    http://www.trirand.com/blog/index.php?pagename=forum&rs_discuss_where=topic&rs_discuss_forum=bugs&rs_discuss_topic=114&recent=708

    I’m consider to totally change these methods, but I do not have solution for the problem described in the link above.
    If someone can help on this – it will be great.

    Anyway thank you very much for reporting this issue.
    Regards
    Tony

    in reply to: Tooltip and title attribute #82523
    tony
    Keymaster

    How do you add a title?
    jqGrid uses onmouseout event and delete the title and add a title in onmouseover event (content of the table cell).

    Regards
    Tony

    in reply to: Master Detail Grids #82522
    tony
    Keymaster

    The reason is that if you use dblclick the onSelectRow is raised too. I do not know haw to solve this – it is something like Paragraph 22.

    in reply to: Dynamic forms using setColProp #82521
    tony
    Keymaster

    Use beforeInitData event for that purpose.
    There is a missing line for this event when the form is created for first time, which is corrected.

    Regards
    Tony

    in reply to: BUG in IE 6.0 #82520
    tony
    Keymaster

    This should work. It works for me in IE6.
    Since IE6 does not support indexOf in arrays before this line is defined something like

    if(!Array.indexOf){
    Array.prototype.indexOf = function(obj){
    for(var i=0; i<this.length; i++){
    if(this==obj){
    return i;
    }
    }
    return -1;
    }
    }

    I really do not know why?
    On possible direction. Use this piece of code independent from jqGrid and see if this work in IE6. If not there is something wrong with you version of IE6.

    Regards
    Tony

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

    $(‘#mygrid’).jqGrid({

    postData:{ServerID:519},


    }).setGridParam({postData:{}});

    Regards
    Tony

Viewing 15 replies - 7,666 through 7,680 (of 7,981 total)

Stay connected with us in your favorite flavor!