wei-spring / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Spanning columns of Table component does not work properly #1414

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1.Create a Table structure with 6 columns by overriding createCell method. 
2.Create a header structure with first 2 columns with some labels and rest of 4 
columns with empty string. Span first two columns horizontally so that it takes 
all of the space like header row divided into two columns.

What is the expected output? What do you see instead?
I expect the a Table with header row has 2 columns and 6 columns in the rest of 
the rows.But still I'm seeing 6 columns in the header row while I need only 2.

What version of the product are you using? On what operating system?
CodenameOne 2.0

Please provide any additional information below.

I had a discussion on this issue with Mr. Shai Almog on stackoverflow and he 
suspect that it could be a bug. Here is the link that will explains the 
situation a lot better than here - 

http://stackoverflow.com/questions/29150309/how-to-customize-header-row-of-table
-component-in-codenameone/29160238?noredirect=1#comment46745832_29160238

Original issue reported on code.google.com by adzeead...@gmail.com on 26 Mar 2015 at 10:03

GoogleCodeExporter commented 9 years ago
fixed, thanks for the bug report

Original comment by cf27...@gmail.com on 26 Mar 2015 at 1:01