[TIMOB-677] Can't place TextArea in a TableView (Grouped Section) row
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:53:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | ios, tableview, text, widget |
Reporter | Ryan G |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:34:13.000+0000 |
Updated | 2011-04-17T01:53:53.000+0000 |
Description
You can't click on it. No keyboard show up.
function addtextarea()
{
var row = Ti.UI.createTableViewRow();
var note = Titanium.UI.createTextArea({
//color:'#336699',
height:35,
top:5,
height: 100,
width: 290,
bottom: 5,
hintText:'Put something interesting about this new person...',
borderStyle:Titanium.UI.INPUT_BORDERSTYLE_NONE
});
row.add(note);
row.height = 'auto';
row.selectionStyle = Ti.UI.iPhone.TableViewCellSelectionStyle.NONE;
row.className = 'control';
return row;
}
// create table view data object
var data = [];
data[0] = Ti.UI.createTableViewSection({headerTitle:'Note'});
data[1] = addtextarea();
var tableView = Ti.UI.createTableView({
data:data,
style: Titanium.UI.iPhone.TableViewStyle.GROUPED
});
"value:" is required in options for Text Areas. Solved that problem.
Resolved
Can't get the value of object in a row.
Resolved at some point.
Forgot to tag.