G
Guest
Hi,
I am making a table in ASP.NET at the runtime and loading the data in the
left and the right most colums and in between there are 9 columns on which
data
from either of the columns(left most or the right most) can be dropped. For
that what I am coding is that, on mouse-down and function called GetValue()
is called and on mouse-up the function SetValue() is called, using JavaScript
on the client side. In GetValue() I am getting the innertext of the cells in
a temporary variable and in SetValue() I am setting the innertext on the
dropped cells. So, this way virtual drag and drop goes on.
Here comes the problem, while dragging and dropping all the cells or the
text between the cells get selected and untill and unless I click once more
on the text of the other cell the selection remains. So if anyone could help
me out by suggesting a way to overcome this problem of unselecting the text
or the cells while whole process goes on? Any type of help or suggestions or
even wild hints are welcome.
I am making a table in ASP.NET at the runtime and loading the data in the
left and the right most colums and in between there are 9 columns on which
data
from either of the columns(left most or the right most) can be dropped. For
that what I am coding is that, on mouse-down and function called GetValue()
is called and on mouse-up the function SetValue() is called, using JavaScript
on the client side. In GetValue() I am getting the innertext of the cells in
a temporary variable and in SetValue() I am setting the innertext on the
dropped cells. So, this way virtual drag and drop goes on.
Here comes the problem, while dragging and dropping all the cells or the
text between the cells get selected and untill and unless I click once more
on the text of the other cell the selection remains. So if anyone could help
me out by suggesting a way to overcome this problem of unselecting the text
or the cells while whole process goes on? Any type of help or suggestions or
even wild hints are welcome.