Attached is the requirement example I have in rendering a Table

Table contains one of n Estimate Groups, The 2 highlighted rows in the 
attachment are a summary of the Parts / Labor that make up a Group

When we click on a column, we highlight only that column, however when we 
make changes to the table such as add a new group or group entry, we have 
to render the table to highlight the changes in the Group summaries as 
shown in the attached image.

Regards.

On Friday, January 25, 2019 at 9:04:39 AM UTC-5, shop.servic...@gmail.com 
wrote:
>
> This method was taken from your answer to how to highlight a selected row.
>
> https://stackoverflow.com/questions/42303713/how-can-i-select-and-hightlight-a-row-in-a-table-in-codename-one
>
> Ultimate goal is to efficiently highlight a selected row
>
> Regards.
>
> On Thursday, January 24, 2019 at 10:31:02 PM UTC-5, Shai Almog wrote:
>>
>> It's because you invoke setModel() which causes the table to effectively 
>> rebuild from scratch. You should instead update the cell/row not rebuild 
>> the entire table.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c82d1165-a3a6-4394-bb39-61d0a567bf09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to