I am trying to create a SmartGWT.Mobile TableView with custom record formatting, since I would like to have part of the table content right-aligned.
I successfully created the TableView, but it seems to ignore my RecordFormatter:
Anyone could help with some sample code? Thanks.
I successfully created the TableView, but it seems to ignore my RecordFormatter:
Code:
tableView = new TableView(); tableView.setTitleField("title"); tableView.setShowNavigation(false); tableView.setCanSelectRecords(true); tableView.setTableMode(TableView.TableMode.GROUPED); RecordFormatter recordFormatter = new RecordFormatter() { @Override public String format(Record record) { return "TEST"; } }; tableView.setRecordFormatter(recordFormatter);
Comment