Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 158
  • Last Modified:

Sorting a heirarchical flexgrid

Hi,

Is it possible to allow users to sort the columns of an MSHFlexgrid based on the header selected by the user? Is so, then can anyone point me in the right direction?

Thanks
0
pmud
Asked:
pmud
  • 3
  • 3
2 Solutions
 
Stephen MandersonCommented:
Hi there

You can give this a try,

http://vb-helper.com/howto_sort_flexgrid.html

Either that or you could use textmatrix to get the column name and then use it in a sql query and refill the grid.
0
 
Stephen MandersonCommented:
Hi there,

Did you manage to get this problem sorted ?

The about link I posted, I have tried and tested on a MSHFlexgrid and it works great.

Regards
Steve
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
justchat_1Commented:
My link does also works exactly as your description says...if you had a problem with either of the links you can post that information.  Otherwise a moderator will be forced to award points for you...
0
 
Stephen MandersonCommented:
Solutions provided by both myself and justchat - Recommend split points.

Steve
0
 
justchat_1Commented:
agreed
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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