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

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 UTC
  2. PowerBuilder
  3. # Permalink

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.