Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

user size columns flexgrid or fixed columns in listview? 1

Status
Not open for further replies.

chiuchimuN

Programmer
Apr 24, 2002
29
US
I need a grid that keeps the first three columns of data fixed while horizontally scrolling like the flexgrid "fixed column method". But I also need to resize the columns if records don't fit in cell like the listview allows. I can't bind the control to the records because of the way its been rearranged.

Original Records in table
ID Lname Fname Date Type
1 Sander Frank 1/3/01 A
1 Sander Frank 1/7/01 E
3 Ricard Greg 1/3/01 A
3 Ricard Greg 1/30/01 A
1 Sander Frank 2/8/01 M
3 Ricard Greg 2/1/01 A
etc.....

Data on form looks like:
ID Lname Fname Jan -01 Feb -01 Mar -01 ... Jan -02
1 Sande Frank 1;3 2;
3 Ricard Greg 3;30;.. 1;
etc...

I want to keep the ID,Lname,Fname visible as user scrolls sideways there the dates. but also let columns be resized as the user wants to show more data or to keep view compact.

Alternatively, is there a way to link two listviews so they scroll horizantally together?
 
hi,
If i grab it correctly then here is you answer.

FlexGrid has a property called "AllowUserResizing" which allow user to resize flexgrid cells in horizontal / vertical/ both ways.


Bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top