In this article i am going to explain how to change the color of a column or a specific cell in a grid.
1. User have to create displayOption method of from's data source.
if you want change rows color then write below code.
please check below image as i want to change particular one columns background color.
1. User have to create displayOption method of from's data source.
if you want change rows color then write below code.
public void
displayOption(Common _record, FormRowDisplayOption _options)
{
tableName objtable;
table = _record;
_options.backColor(WinAPI::RGB2int(187,231,250));
super(_record,
_options);
}
EmoticonEmoticon