Skip to content

Commit f7d2376

Browse files
committed
Minor documentation update
1 parent 62c9515 commit f7d2376

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/datagrid/DataGrid.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ javaxt.dhtml.DataGrid = function(parent, config) {
8989

9090
/** Style config. See default styles in javaxt.dhtml.Table for a list of
9191
* options. In addition to the table styles, you can also specify a
92-
* checkbox style
92+
* checkbox style.
9393
*/
9494
style: defaultStyle,
9595

@@ -108,22 +108,25 @@ javaxt.dhtml.DataGrid = function(parent, config) {
108108

109109
/** If true, and if the payload is empty, will sent params as a URL
110110
* encoded string in a POST request. Otherwise the params will be
111-
* appended to the query string in the request URL.
111+
* appended to the query string in the request URL. Default is false.
112112
*/
113113
post: false,
114114

115115
/** Used to specify the page size (i.e. the maximum number records to
116-
* fetch from the server at a time)
116+
* fetch from the server at a time). Default is 50.
117117
*/
118118
limit: 50,
119119

120-
/** If true, the server will be asked to return a total record count.
121-
* This is a legacy feature and is NOT required for pagination.
120+
/** If true, the server will be asked to return a total record count by
121+
* setting the "count" parameter to true when requesting the first page.
122+
* Otherwise, the count parameter is set to false. Note that the count
123+
* is NOT required for pagination and is not used internally in any way.
124+
* Rather it is for informational purposes only. Default is false.
122125
*/
123126
count: false,
124127

125128
/** If true, the grid will automatically fetch records from the server
126-
* on start-up
129+
* on start-up. Default is false.
127130
*/
128131
autoload: false,
129132

0 commit comments

Comments
 (0)