3.0 beta 2

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,
any suggestions pls?
VaraPrasad
August 25,
Browser ? , AW-version ?
Are you using AW.Formats.HTML ?
/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++
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,
August 26,
Thanks its working.
August 27,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.