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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select mutiple rows and delete in Flex Grid 1

Status
Not open for further replies.

mdctsg

MIS
May 26, 2002
102
US
Hello

I have a Flex Grid populated by my db. I am wondering is there a way to select mutilple rows in the grid and delete them. It will allow me to use the shift key but not the control key so the user has to delete one at a time.

Any help will be greatly appreciated
Thanks
Bob
 
Look into the .rowsel property. It allows you to select a range of rows. Thanks and Good Luck!

zemp
 
Thank you very much zemp for your reply. I have gotten it straight. I have run into another snag. I can select multiple records using the shift key but is there a way to use the control key in a flex grid. The records stagger and it won't allow me to use the control key the way the data grid does. I know I am missing something.

Bob
 
mdctsg (and all other interested) -

I, too, am looking for a way to select non-contiguous rows from a (hierarchical) flex grid (MSHFG). Did you ever find a way to do this? Using VB Help I found out how to determine the rows selected (as mentioned by zemp above) but it appears they must be adjacent which supports your findings that you could select rows by using the Shift, but not Control, key.

Let me know. Thanks.

tj1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top