I have created two ultra grid button style columns .When I drag one Ultra Grid button style Column and drop into
UltraGrid button style Column , drag and drop ,Selection drop, Drap Over events are not firing ..
Two columns values(buttons ) are not drag..
Can i drag and drop the infragistics.win.ultragrid. Column Style.button ?
Please guide as me into the right direction
I'm not really sure what you are describing. Are you talking about the grid's built-in dragging of columns? Or are you talking about implementing your own drag/drop functionality using the dragdrop events of the grid?
Either way, I don't see any way that the Style of the column could make any difference whatsoever. Perhaps you could post a small sample project demonstrating what you mean.
I Attached my sample project , in my sample I have Four Columns in grid, the last two columns are ultragrid button style column,
I want to drag the any one of the button column into the unbound Column or first column
Oh, okay... so they problem is not with the drag and drop it's with the SelectionDrag event. This event is not firing, because it fires when you drag something that is selected and there is nothing selected in this case because the button cells don't get selected like other cells.
You could handle this by starting the drag operation in some other event, like MouseMove. But I don't see how you could possibly distinguish between a drag and a click here. The MouseDown on the button is going to fire the CellButtonClick event before the mouse moves. So there's no logical way to tell what the user intended to do here. Unless you do both a click and then a drag, which seems like a really weird UI.
Hello Kartheeswaran Jeyakumar,
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
Hi Boris Toromanov ,
Thanks for your valuable time..
Now i am understand the issue.I follow the [Infragistics] Mike Saltzman post...
It help me to go in the right direction...