[TIMOB-15779] Android: getRowHeight() method not working
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 3.1.3 |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | Shameer Jan |
| Assignee | Unknown |
| Created | 2013-11-21T12:46:13.000+0000 |
| Updated | 2018-02-28T20:04:03.000+0000 |
Description
Problem Description
getRowHeight() method not working with android 4.0.4, It shows "has no method' error.Works fine on IOS simulator. Steps to reproduce 1.Run following code Expected result: Alert box should appear with 'rowHeight' value. Actual result: Shows 'has no method' errorTest case
var win = Ti.UI.createWindow();
var tableView = Ti.UI.createTableView({
rowHeight: 65
});
tableView.addEventListener('postlayout', function(){
alert(tableView.getRowHeight());
});
win.add(tableView);
win.open();
Attachments
| File | Date | Size |
|---|---|---|
| android.png | 2013-11-21T12:51:31.000+0000 | 80422 |
| iOS Simulator Screen shot Nov 21, 2013 6.20.15 PM.png | 2013-11-21T12:51:31.000+0000 | 61810 |
No comments