Search code examples
eclipse-rap

Eclipse RAP, Tabris: TableViewer does not work properly on iOS


I created a very small web application using a JFace TableViewer. In the brower the table looks nice, but on iOS using Tabris the table columns are missing.

Please see the code here. And please compare the browser and iOS version here. What am I missing? Maybe I have to change the CSS file?


Solution

  • "Real" tables as you know them from the desktop are not supported yet, as they are not a common UI pattern on mobile devices.

    Table, Tree and List are always displayed as a "List". You can have two columns: The first will be the main title Label, the second column will be used as a subtitle Label on the item. (Like in a Mail app, where you have the "From" in a big, bold font and the "Subject" in a smaller font below.)

    So in your case I would concatenate the two dates into the first column and the subject into the second column.