New call-to-action
Results 1 to 3 of 3

Thread: Linked grid in detail view

  1. #1
    Member
    Real Name
    Robert Holmström
    Join Date
    Sep 2010
    Location
    Sweden
    Posts
    201

    Default Linked grid in detail view

    Hi,

    I have a grid with a detail view. The detail view has several tabs and i would like to have linked grids in some of these tabs, is that possible? Linked grids works just fine in grids but i cant seem to find it in detail view.

    If not, is there any other way to do it that is not too complicated?

    Thanks, i am just learning and appreciate any help.

    Regards
    Robert

  2. #2
    Member njguy's Avatar
    Real Name
    Tom Ritter
    Join Date
    Nov 2009
    Location
    New Jersey
    Posts
    301

    Default Re: Linked grid in detail view

    Quote Originally Posted by eskimoavenue View Post
    Hi,

    I have a grid with a detail view. The detail view has several tabs and i would like to have linked grids in some of these tabs, is that possible? Linked grids works just fine in grids but i cant seem to find it in detail view.

    If not, is there any other way to do it that is not too complicated?

    Thanks, i am just learning and appreciate any help.

    Regards
    Robert
    Robert,

    1. Create a div tag where you want the grid to appear. You can accomplish this by adding a static text field and adding the HTML <div id="SomeGridDiv"></div>.

    2. Add a button to the screen and set its Show/hide expression to .f.

    3. On the OnClick event add the action to open a grid. Look at the attached screen shot for the rest of the info you will need

    4. Under the Grid Properties go to Java Scripts - System Events. For the onDetailViewRender event add the following code:

    ele = $('{Grid.ComponentName}.D.V.R1._UNBOUND_BUTTON_1');
    ele.click()

    5. This will basically perform a mouse click on the button to open the grid you added on the detail view

    Thanks
    Tom

  3. #3
    Member
    Real Name
    Robert Holmström
    Join Date
    Sep 2010
    Location
    Sweden
    Posts
    201

    Default Re: Linked grid in detail view

    Thanks Tom!!!

    I will try it later, I just read it thru quickly and I am not sure I am following you fully, but it might be clearer when I do it step by step.

    Thanks again!!!
    Robert

Similar Threads

  1. Detail View from Grid or Detail View from Hyperlink on Grid
    By Turnbullca in forum Application Server Version 10 - Web/Browser Applications
    Replies: 2
    Last Post: 03-06-2011, 04:42 PM
  2. Update Field on a detail view from a linked grid
    By jacsolutions in forum Application Server Version 10 - Web/Browser Applications
    Replies: 0
    Last Post: 06-23-2010, 06:22 PM
  3. Linked Content in Grid Detail Part
    By ahclark in forum Archived Wishlist
    Replies: 1
    Last Post: 05-03-2010, 10:29 AM
  4. Grid with Detail View and Linked
    By Turnbullca in forum Application Server Version 10 - Web/Browser Applications
    Replies: 11
    Last Post: 11-25-2009, 03:54 PM
  5. Grid View with Detail View To Add New Records
    By Jeff Benson in forum Web Application Server v7
    Replies: 2
    Last Post: 05-26-2006, 10:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •