ram2010

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Author
    Replies
  • ram2010
    Participant

    Hi Oleg

    I am facing the same issue. I guess this issue still exists in the current jqgrid version? I noticed in your example it works fine. What code updates do I need to make to ensure that a grid with both inlineedit and form editing works?

    Also on something related to this, I am using the struts2-jquery plugin which uses jqgrid 3.7.2 at the moment. Currently we dont have the capacity to add our own customized buttons on the grid using the this plugin. My idea is to add a Copy button, then when a row is selected, I will invoke the logic of 'Form Editing' to populate the row selected and then obviously change the unique id in the form

    in reply to: Copying an already existing row into the add new modal .. #96659
    ram2010
    Participant

    I seem to be getting somewhere with this.. however I am facing one problem.

    The properties I set in

    jQuery("#gridName").jqGrid('editGridRow', "new", properties);

    in reply to: Dynamically Populate Select Dropdown #96013
    ram2010
    Participant

    When adding its no problem as its a new record you are creating.

    The problem with select boxes that link to each other is in inline editing.

    Using inline edit the rows all contain their correct data before you select a row. The when selecting a row all the select urls are fired.

    What is the best approach? I currently have a situation where I have 5 columns each with a select list. The first select, causes the 2nd one to fire. As the second one fires, it should cause the 3rd. and so on. They selects are all related to each other and the selected values are passed from one select to another to retrieve appropriate data.

    Any help on this issue is really appreciated as I am stuck.

    Thanks

    in reply to: showlink target option does not work #95648
    ram2010
    Participant

    The 2nd error is caused because a new jsp page is loaded and this new jsp doesnt have jquery.

    If the target attribute worked properly and loaded in the div, then I will have jquery already loaded and will not get the 2nd issue.

    Has anyone successfullyu implemented showlink? if so, does it load the result properly into the target dive?

    thanks

    in reply to: Grid row auto height? #95565
    ram2010
    Participant

    this is a great idea… and would make the grids look very neat and tidy…I would also like to implement this in my app if it exists.

    anyone know if this can be done?

    in reply to: how do I modify the dataUrl when a row is selected? #95066
    ram2010
    Participant

    Hi Oleg

    I tried using your dataEvent but i only have it half working. As you know, when a row is selcted, all the columns with a select execute the dataUrl automatically.

    problem 1:

    What is the dataEvent to use?… 'click' doesnt fire.. 'select' is wrong… any ideas?

    problem 2:

    How do I identify the rowId when calling dataEvent? I tried putting this

    var id = jQuery(#userGrid).jqGrid('getGridParam','selrow');

    like so:

    ram2010
    Participant

    I am also having this same issue.

    in reply to: Dynamically Populate Select Dropdown #94202
    ram2010
    Participant

    Hi Tony

    I have followed your example as per your post on 19/12/2009 (17:04hrs).

    I have put in the code as you suggested for inline editing & it works ok. However, when adding a new record & I select the first dropdown, the 2nd dropdown doesnt load. It must be because I am specifying the wrong element to be updated(because my column definition is specific for inline editing as as use the rowId)

    What can I do so that in my col definition that it will work for both Form Editing(when adding a record) & inline Editing(when editing a record) ?

    Also one other thing, when I put in this code as you suggested

    $(rowid_select_two).html(res);

    my 2nd column did not update(I got no error in firebug).

    So what i did to make this work, I did this:

    in reply to: Add Record Popup(Modal) question on re-population.. #93889
    ram2010
    Participant

    just figured it out!… you put it in 'navigatoraddoptions'

    so just like the properties you put the events in the same way!

    in reply to: Add Record Popup(Modal) question on re-population.. #93888
    ram2010
    Participant

    I have visited the link and know that I need to use events to inspect the result from the server.

    I am using the strut2 Jquery plugin. Does anyone know how I can call these events listed usiing this plugin? Its not clear on how to call events on the default Add button supplied with jqgrid.

    There is a 'navigatoraddoptions' you can set for the grid but I presume that is where you set the properties & not the events.

    So how do I set the event?

    any help is appreciated. thanks.

    ram2010
    Participant

    Hi Lars

    thanks for your comment. Do you have an example of using such a custom element as a column?

    Trying to picture how this will work when trying to populate each row how I will handle such a column.

    thanks

    in reply to: 2 lines header, possible? #93726
    ram2010
    Participant

    Yes this is a good idea… I often have header labels that are much longer than what is needed for displaying the data in the column.

    So something like a headerLabelWrap so that it the header can display on multiple rows.

    in reply to: struts2-jquery tabs calling pages with jgrid issue #92596
    ram2010
    Participant

    Hi Tony

    I tried your suggestion and set autoencode to false.

    in reply to: struts2-jquery tabs calling pages with jgrid issue #92510
    ram2010
    Participant

    Has anyhone managed to get the a tabbed pane working whereby

    ram2010
    Participant

    Tony that fixed it!.. You are a star Smile

    I set autoencode to false on my grid declaration and it did the trick!

    Thank you!

Viewing 15 replies - 1 through 15 (of 19 total)

Stay connected with us in your favorite flavor!