Results 1 to 4 of 4

Thread: Hyperlink in grid column

  1. #1
    Senior Member
    Join Date
    Jul 2019
    Posts
    175

    Hyperlink in grid column

    Hi Guys,

    I am trying to create hyperlinks for the two grid columns in the grid section. May I know which property I should use to refer to the grid column header?

    Thanks & Best Regards

  2. #2
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,377
    Hi WJ,

    The 'Link Click' delegate is passed the data controlsource and cell text as arguments. It does not pass a reference to the column. You would need to code the mapping of the controlsource to the column header to get the header text.

    Regards,

    Yvonne

  3. #3
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    1,942
    Code:
    ? Lianja.get("pgdetails_view.sxndetails_view").grid.columns(1).caption && testing from one of my apps
    where the columns collection is indexed from 1 (it used to be zero, IIRC, and I am grateful for the change).

    Hank

  4. #4
    Senior Member
    Join Date
    Jul 2019
    Posts
    175
    Hi Guys,

    Thanks for the tip!

Bookmarks

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
  •  
Journey into the Cloud
Join us