Page 1 of 1

CRDBGRID issue

Posted: Thu 10 Feb 2005 12:40
by elewis
I have on issue when using the CRDBGrid and I wonder if I am doing something wrong. I have the latest version of MyDAC 3.5 loaded on Delphi 7.

I had set the CRDBGRID for the users to select Multiple Rows by setting the dgMultiSelect to 'True'. It selects multiple row fine using the CNTRL key; however, when use the SHIFT key it do not work. :?

In the help file, it states, "Multiple sorting on selected columns (hold SHIFT down while clicking column headers to set multiple sorted columns; hold CTRL down and click columns area to remove sorting)."

Thanks for you help in advance..

Posted: Thu 10 Feb 2005 16:49
by Alex
Please read carefully your own post, you accidentally mix up MultiRows selection
I had set the CRDBGRID for the users to select Multiple Rows by setting the dgMultiSelect to 'True'.
and MultiColumn sorting.
"Multiple sorting on selected columns (hold SHIFT down while clicking column headers to set multiple sorted columns; hold CTRL down and click columns area to remove sorting)."

If you want to sort data you need to click on the title bar of desired column and if you want to order data by several columns you should click on the title bars of the desired columns holding SHIFT key, if you want to select several rows you need to click on desired rows holding Ctrl key.
(Pls. see Delphi help for more info about Multi-row selection.)

It would be nice ...

Posted: Fri 04 Mar 2005 10:39
by Peet
Still, it would be nice is you COULD select a range of rows by clicking on the first row and shift-clicking on te last row. Like, for instance, in MS-Excel.

I would certainly appreciate the multi-select to behave like this in addition to the ctrl-click multi-select already supported.

Posted: Fri 04 Mar 2005 16:04
by Alex
Thank You for your advice, we will consider this feature but not in the nearest time.