I created a new thread because the other one had a answered checkbox so I wasnt sure if it would get answered.
From the other thread - (http://forums.infragistics.com/forums/t/2165.aspx)
"You would need to have the DisplayLayout.SelectTypeRowDefault set to Extended. Then shift clicking or control clicking will select based on the normal patterns."
Is this the only property that needs set? I have tried to set this for my grid and it doesnt seem to work. Also when I double click my RowSelector it gives me a little dialogue next to it with a ok/cancel button, how do I turn that off?
The OK/Cancel button is probably a RowEditTemplate that was added to the Grid. In the ASPX clear out any <RowEditTemplate> you might have.
I noticed you don't have a SelectedRowStyle, to change the color of the selected row. Are you validating that the rows aren't selected via code?
Thank you the RowEditTemplate was indeed added to the grid, taking that out fixed the Ok/Cancel.
I dont want to change the color of my selected row, I do however want to be able to select more than one row at a time for delete purposes. So Im not sure what you mean by rows selected via code I had thought that happens using the Rowselector, and that setting the SelectTypeRowDefault to Extended would allow me to select more than one row at a time?
My assumption is then after this works, my deleterow event would fire each time for every row deleted?
Changing the SelectedRowStyle would help visually indicate rows are selecting, at least for debugging purposes..
Extended is what you need to set, but you would need to Shift or CTRL click the row selectors to multi select.
It sounds like you are confusing Selected Rows vs Active Rows
A Row becomes active when you click on it. It will put a border around the row (Actually it applies the ActiveRowStyle, which by default is just a thicker border). There can be a maximum of one active row at a time.
A Row can be selected, but you need to turn on properties (you did this).
If you added a border to the SelectedRowStyle, you could mimic what you are seeing with the ActiveRow, I would just choose a different color so your users can see a difference.
AH-HA!
My rows are being selected more than one at a time doing this (a simple delete of two rows showed me this), however by default (or maybe something added in the html like it did for the rowedittemplate) I am getting a single row selected (the 1st one I click) visually when I click the row selecteor it puts a border around that row (much like an excel worksheet) and puts an arrow sign in the rowselector.
Is there a way visually to put the border around all selected rows (like excel, and not a border around each selected row) and make each row selecteor have a arrow (or none have them) for all my selected rows?
Edit: Putting a color on my selected row like you said showed me that the border is put around the last row you select in the group. Would making the border colors colored give me the effect im looking for where all rows look like they have been selected?