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
August 16,
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;
var obj = new AW.UI.Grid;
obj.setCellData(myData);
obj.setCellFormat(text, 0);
obj.setCellFormat(html, 1);
obj.setColumnCount(2);
obj.setRowCount(1);
document.write(obj);
</script>
C++
August 25,
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
August 26,