Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15779] Android: getRowHeight() method not working

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.3
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterShameer Jan
AssigneeUnknown
Created2013-11-21T12:46:13.000+0000
Updated2018-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' error

Test 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

FileDateSize
android.png2013-11-21T12:51:31.000+000080422
iOS Simulator Screen shot Nov 21, 2013 6.20.15 PM.png2013-11-21T12:51:31.000+000061810

Comments

No comments

JSON Source