how to implement column header sorting using MS Hierarchical flex grid 
Author Message
 how to implement column header sorting using MS Hierarchical flex grid

is there a way to implement one click column header sorting in flex
grids..similar to the behavior available in outlook for example..where clicking
on the column header causes an ascending/descending sort to occur based on that
column....i don't see exactly how to trap a click on a specific column header
using the MSHFlexGrid..thanks


Mon, 15 Sep 2003 07:51:36 GMT  
 how to implement column header sorting using MS Hierarchical flex grid
Caveat: I'm assuming Hflexgrid works like flexgrid

in the MouseDown event...

    With MSFlexGrid1

        If .MouseRow > 0 Then
            if Button = vbleftbutton then
                .Sort = SortAscending
            elseif Button = vbrightbutton then
                .Sort = SortDescending
            endif
        endif

    end with

Steve


is there a way to implement one click column header sorting in flex
grids..similar to the behavior available in outlook for example..where
clicking
on the column header causes an ascending/descending sort to occur based on
that
column....i don't see exactly how to trap a click on a specific column
header
using the MSHFlexGrid..thanks



Mon, 15 Sep 2003 08:49:18 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Hierarchical Flex Grid - column resizing

2. Hierarchical Flex Grid - columns autosize

3. Hierarchical Flex Grid - columns autosize

4. Hierarchical Flex Grid - columns autosize

5. Hierarchical Flex Grid - columns autosize

6. MS Hierarchical Flex Grid

7. Using rich text box with Hierarchical Flex Grid

8. MS Flex Grid Headers

9. Using Right Mouse Button to focus on Flex Grid Column

10. hierarchical flex grid

11. shaped recordsets & hierarchical flex grid

12. sendmessge with hierarchical flex grid

 

 
Powered by phpBB® Forum Software