1. John Vanleeuwe
  2. PowerBuilder
  3. Saturday, 15 December 2018 10:01 AM

Hi all,

 

I have a grid datawindow with header sorting functions. Users can also reposition columns themselves.

 

I am looking for a dynamic solution to retrieve the name of the header of the first visible column in my grid datawindow.

I can't use the column number as my users can rearrange the position and therefore number 1 column of my sql resultset can be different than the first column of my actual datawindow.

 

Hope i made some sense...

 

TIA

John

Accepted Answer
Sivaprakash BKR Accepted Answer Pending Moderation
  1. Saturday, 15 December 2018 13:13 PM
  2. PowerBuilder
  3. # Permalink
0
Votes
Undo

Get all column names and its' X position.  Get the least X position and the corresponding column name.

HTH

Happiness Always

BKR Sivaprakash

 

Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.