:: Forum >>

My.Templtes.Input - Need HELP !!!

Fantastic stuff :-) Impressed...

Here is my problem...

When using My.Templtes.Input object

1. Shift Left-Arrow-Key or Shift Right-Arror-Key is not working. The default behavior of selecting the text is missing :-( Any way to bring it back?

2. When I'm in editing mode, I wish row navigation to be disabled. How Can we do that? When I hit Up-Arrow or Down-Arrow, selected row moves leaving editing cell as it was.

Thanks,
Sudhaker Raj
Tuesday, June 22, 2004

Adding the following code turns my My.Templtes.Input normal.

// create ActiveWidgets Grid javascript object
var obj = new Active.Controls.Grid;

obj.setEvent("onselectstart", null); // issue 1
obj.setEvent("onkeydown", null); // isuue 2


Just wondering, what for this onselectstart was used?
Sudhaker Raj
Wednesday, June 23, 2004
The text selection is disabled to prevent strange effects when you resize columns or sort. Maybe I should disable it only on headers :-)
Alex (ActiveWidgets)
Saturday, June 26, 2004

>> Maybe I should disable it only on headers :-)

How to do that?

Sudhaker Raj
Monday, June 28, 2004
?
Tuesday, July 6, 2004
// make input box selectable
obj.getTemplate("top").setEvent("onselectstart", obj.getEvent("onselectstart"));
obj.setEvent("onselectstart", null);


Hopefully, I'm right...
Sudhaker Raj
Wednesday, July 7, 2004

This topic is archived.


Back to support forum

Forum search