Alpha Video Training
Results 1 to 5 of 5

Thread: Controlling the grid order with Grid Linker

  1. #1
    Member
    Real Name
    Howard Meyer
    Join Date
    Apr 2006
    Posts
    18

    Default Controlling the grid order with Grid Linker

    When I add and link grids with the grid linker, I don't seem to have any control of the order that they appear on the final page. I have looked at the xbasic tab and see:

    ...
    With tmpl.Grid_Info[3]
    .ComponentName = "StudentOrderGrid"
    .ComponentAlias = "StudentOrderGrid"
    .ParentAlias = "ChildrenGrid"
    DIM Link_Map[1] as P
    With Link_Map[1]
    .Parent_Field = "Studentid"
    .Child_Field = "Studentid"
    End With
    End with
    With tmpl.Grid_Info[4]
    .ComponentName = "StudentGradeAllergy"
    .ComponentAlias = "StudentGradeAllergy"
    .ParentAlias = "ChildrenGrid"
    DIM Link_Map[1] as P
    With Link_Map[1]
    .Parent_Field = "Studentid"
    .Child_Field = "Studentid"
    End With
    End with

    I have changed the number within the With tmpl.Grid_Info[x] and have tried cutting and pasting this into the order I want, but I cannot move the StudentGradeAllergy grid before the StudentOrderGrid.

    Any suggestions?

  2. #2
    Member
    Real Name
    Howard Meyer
    Join Date
    Apr 2006
    Posts
    18

    Default Re: Controlling the grid order with Grid Linker

    I figured it out.

    I found that I needed to go to the Source page of the .a5w page and cut and paste the html statements to put the grids in the order I wanted.

    Thanks anyway.
    Howard

  3. #3
    Member
    Real Name
    Ron Leunis
    Join Date
    Sep 2005
    Location
    Netherlands
    Posts
    652

    Default Re: Controlling the grid order with Grid Linker

    Look under Grid Properties for TAB ORDER...here you can enter a sequence number for each Grid defined under the Tabbed Grid Linker.
    regards, Ron

  4. #4
    Member
    Real Name
    Ron Leunis
    Join Date
    Sep 2005
    Location
    Netherlands
    Posts
    652

    Default Re: Controlling the grid order with Grid Linker

    But using tab orders seems only possible with the Tabbed Grid Linker not the normal Grid Linker...Ron

  5. #5
    Member
    Real Name
    Howard Meyer
    Join Date
    Apr 2006
    Posts
    18

    Default Re: Controlling the grid order with Grid Linker

    Thanks Ron,
    That was my problem. I couldn't find an order property with the plain gridlinker. While there appeared to have an order in the xbase, making the change there did not consistently or permanently reorder, as is some times it worked, some times it didn't, some times it changed back after being saved. By changing the html, it appears to do what I wanted.
    Howard

Similar Threads

  1. Grid Linker Filter Question
    By ab042 in forum Web Application Server v7
    Replies: 5
    Last Post: 12-06-2005, 03:42 PM
  2. Grid Linker
    By David Henderson in forum Web Application Server v6
    Replies: 3
    Last Post: 05-16-2005, 12:13 PM
  3. Problems with the grid linker
    By tojo in forum Web Application Server v6
    Replies: 0
    Last Post: 03-21-2005, 10:28 AM
  4. Server event for child grid in grid linker page
    By Peter.Wayne in forum Web Application Server v6
    Replies: 1
    Last Post: 10-27-2004, 04:41 PM
  5. New Record in Grid Linker
    By davidv43 in forum Web Application Server v6
    Replies: 1
    Last Post: 08-22-2004, 01:09 PM

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
  •