• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

MSFLEXGRID

Need some help on this grid or advice on which grid to use.  I am building a system that I want the user to be able to click on the fixed column and sort the grid based on the column clicked and also be able to doubleclick on a particular row to populate another form.  With MSflexgrid I can not figure out how to let my users click on the fixed row (row = 0) it always defaults to row = 1.  What am I doing wrong or is there a better grid control that I should be using?
0
rnields
Asked:
rnields
  • 2
1 Solution
 
macuCommented:
Why not use a ListView in report mode, they allow sorting by column (use Sorted, SortKey and SortOrder properties.) They also give you a ColumnClick event (for the columns) and an ItemClick event (for the rows.) You can add grid lines to it with the GridLines property and users will be comfortable with the way they work as they are common in Windows apps.
0
 
rnieldsAuthor Commented:
Adjusted points to 300
0
 
rnieldsAuthor Commented:
Something that I have not used before, but looks like it will work perfectly.  With this, why would I ever use a grid control if I only want to list out data?

Thanks!!
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now