cyracks

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: inline edit and select type #95933
    cyracks
    Participant
    Oleg thanks for the help, much appreciated. You probably saved me hours of testing :)

    I am not sure that I full understand what you want. So I write two main problems which I see

    1. You choose on the server side ids of the rows in a complex way and the values have special characters
    2. The dataUrl of the 'category_entity_id' column should contain the value from the 'supplier_short_name' column from the same row.

    Yes you are correct, that was my probem, but thanks to you it is almost solved :)

    • make a simple ids
    • if you have two grids on the same page don't use the same ids
    • don't use for other elements on the page the same ids which could be returned from the server as rowIds

    Make simple ids – of course I don't know why I was thinking that id of row must be made from columns which are unique in sql table.
    ( This is my first javascript/jquery/jqgrid program, so maby to much information at once :)

    in reply to: inline edit and select type #95902
    cyracks
    Participant

    First of, thank you for replying to my post, I am bashing my head against the wall for two days with this problem.
    I will try to explane better.

    When grid is in edit mode I would like to select value of column A ( edittype : select ) when inside dataEvent 'click' in column B ( column goes into inline edit mode on row select)
    ColModel

    in reply to: inline edit and select type #95897
    cyracks
    Participant

    The problem why I can't get value using jquery is because the definition of id of the column:

    var rowid = $(“#link_categories”).jqGrid('getGridParam','selrow');
    jQuery(“#” + (rowId-1) + “_supplier_short_name”)[0].value

Viewing 3 replies - 1 through 3 (of 3 total)

Stay connected with us in your favorite flavor!