Hello Koti,
If you haven't already, it may be helpful to examine your application with developer tools such as Chrome Developer Tools including the DOM and styles.
As far as making a text red, you can either write CSS to modify the existing elements or simply define and apply your own class,
Define a CSS Class
.red{
color: red;
}
Apply the class
I am using XML view as an example, but you can add it using JavaScript as well.
<ColumnListItem press="handleSelect" type="{device>/listItemType}" > <cells> <ObjectNumber number="{id}" class="red" /> <ObjectNumber number="{text}" state="Success" /> </cells></ColumnListItem>
In this example, I set the first cell to red using the CSS class and the second cell to green using the state property.
Regards,
Scott