:: Forum >>

Not able to select the complete text in the text filed with the mouse

We have a text filed (ie: <input type="text" value="12345">) in one of the column of grid. When we try to select the complete text in the text field with the mouse, it is not allowing to select. The problem doesn't exist with the AW.UI.Input template.

Pls suggest me for the solution.
VaraPrasad
Monday, August 16, 2010
any suggestions pls?
VaraPrasad
Wednesday, August 25, 2010
Browser ? , AW-version ?
Are you using AW.Formats.HTML ?
http://www.activewidgets.com/aw.formats.html/

I did a test with your 'input' on above page, and seems to be OK on FF 3.5-3.6

<script>

var myData = [
["<input type='text' value='12345'>", "<i>this is html</i>"],
];

var text = new AW.Formats.HTML;
var html = new AW.Formats.HTML;

// grid control
var obj = new AW.UI.Grid;
obj.setCellData(myData);
obj.setCellFormat(text, 0); // text in the first column
obj.setCellFormat(html, 1); // html in the second column
obj.setColumnCount(2);
obj.setRowCount(1);
document.write(obj);

</script>


C++
Wednesday, August 25, 2010
Thanks for the reply.
The provided solution is working on FF but not working on IE6 and IE7.
We are using ActiveWidgets 2.0.2 version. We tried with latest version of acitvewidgets also but no luck.
VaraPrasad
Thursday, August 26, 2010
http://www.activewidgets.com/javascript.forum.19620.3/highliting-text-inputs-not-working.html
Thursday, August 26, 2010
Thanks its working.
Friday, August 27, 2010

This topic is archived.


Back to support forum

Forum search