Skip to content

Commit 1f6bf9b

Browse files
committed
Update some of the documentation.
1 parent 18f39e0 commit 1f6bf9b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/gwt/material/design/demo/client/application/datatable/standard/StandardDataTableView.ui.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@
125125

126126
<m:MaterialRow addStyleNames="code">
127127
<m:MaterialBadge text="FEATURE UPDATE" textColor="AMBER" shadow="1" layoutPosition="RELATIVE" float="RIGHT" backgroundColor="AMBER_LIGHTEN_5" />
128-
<m:MaterialTitle scrollspy="row_api" title="updateRow(model) and getRowByModel(model)" description="Using these Row Apis, you can now easily access the update / refresh the row realtime and also get the row component." />
128+
<m:MaterialTitle scrollspy="row_api" title="updateRow(model) and getRowByModel(model)" description="Using these Row API's, you can now easily access the update / refresh the row in real-time and also get the row component." />
129129
<demo:PrettyPre addStyleNames="lang-java">
130130
&emsp;// Get the Row <br/>
131-
table.getByModelRow(person); <br/><br/>
131+
table.getRowByModel(person); <br/><br/>
132132

133133
// Update the row model <br/>
134134
Person firstPerson = people.get(0); <br/>
@@ -276,8 +276,8 @@
276276
<m:MaterialRow addStyleNames="code">
277277
<m:MaterialTitle scrollspy="refresh_redraw" title="Refreshing and Redrawing the table" description="When Updating fields (Specially when using textbox) on DataTable you can refresh the datable easily." />
278278
<demo:PrettyPre addStyleNames="lang-java">
279-
&emsp;table.setRedraw(true); <br/>
280-
table.refreshView();
279+
&emsp;table.getView().setRedraw(true); <br/>
280+
table.getView().refresh();
281281
</demo:PrettyPre>
282282
</m:MaterialRow>
283283
</m:MaterialColumn>

0 commit comments

Comments
 (0)