Hi
I met a new problem when I am using ultragrid.
I can move , drag and drop a row to any position in a ultragrid, However, I also want there is a hightlight when I am draging the row so that it is more clear that where will I put this row to. for example, there will be a line at the row where I am going to drop.
Is there any way to realise that?
Thanks,
Xin
What I want is a line being drawed so that we can know where we are draging row to, even if the row is not dragged over. The line is like a insert point.
How can I draw a line in ultragrid row?
Hi Xin,
I'd probably handle the DragOver event of the grid and get the row the mouse is over and apply an appearance to it.
To get the row, you will first have to convert the X and Y in the DragOver into grid coordinates (they are in screen coords). So you would use the grid.PointToClient method for the this. Then you can get the row from the point. HOWTO:UltraWinGrid Mouse Position and Row Identification
Hi,
Please refer to the following link:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=5597
Magued