Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1554] unable to set a background colour for tableHeader

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2017-04-17T21:45:02.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterILAY SENER
AssigneeFeon Sua Xin Miao
Created2017-04-12T04:39:23.000+0000
Updated2017-04-17T23:07:29.000+0000

Description

it is not possible to set or change the default 'gray' background colour for table section headerTitle in Alloy. Use below to re-create issue

Attachments

FileDateSize
Screen Shot 2017-04-12 at 14.38.02.png2017-04-12T04:39:22.000+0000179926

Comments

  1. Feon Sua Xin Miao 2017-04-17

    [~isener], you can create custom header using HeaderView tag.
       	<TableViewSection id="sectionVeg">
       		<HeaderView>
       			<View backgroundColor="#0f0" height="50dp">
       				<Label>Vegetables</Label>
       			</View>
       		</HeaderView>
       		<TableViewRow title="Carrots"/>
       		<TableViewRow title="Potatoes"/>
       	</TableViewSection>
       
  2. ILAY SENER 2017-04-17

    Thanks. your approach is the right one.

JSON Source