Update dataTable doc and api-gen

pull/1846/head
mertsincan 2021-12-05 20:19:17 +03:00
parent aeef9595c2
commit 35d6cf003c
2 changed files with 24 additions and 2 deletions

View File

@ -323,6 +323,12 @@ const DataTableProps = [
default: "null", default: "null",
description: 'Height of the scroll viewport in fixed units or the "flex" keyword for a dynamic size.' description: 'Height of the scroll viewport in fixed units or the "flex" keyword for a dynamic size.'
}, },
{
name: "virtualScrollerOptions",
type: "object",
default: "null",
description: 'Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it. Note: Currently only vertical orientation mode is supported.'
},
{ {
name: "frozenValue", name: "frozenValue",
type: "array", type: "array",

View File

@ -452,6 +452,15 @@ export default {
<td>field: Column field <br /> <td>field: Column field <br />
filterModel: {value,matchMode} Filter metadata <br /> filterModel: {value,matchMode} Filter metadata <br />
filterCallback: Callback function</td> filterCallback: Callback function</td>
</tr>
<tr>
<td>loading</td>
<td>data: Row data <br />
column: Column node <br />
field: Column field <br />
index: Row index <br />
frozenRow: Is row frozen <br />
loadingOptions: Loading options.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -2132,6 +2141,13 @@ export default {
<td>null</td> <td>null</td>
<td>Height of the scroll viewport in fixed pixels or the "flex" keyword for a dynamic size.</td> <td>Height of the scroll viewport in fixed pixels or the "flex" keyword for a dynamic size.</td>
</tr> </tr>
<tr>
<td>virtualScrollerOptions</td>
<td>object</td>
<td>null</td>
<td>Whether to use the virtualScroller feature. The properties of <router-link to="/virtualscroller">VirtualScroller</router-link> component can be used like an object in it.
<br /><b>Note:</b> Currently only vertical orientation mode is supported.</td>
</tr>
<tr> <tr>
<td>frozenValue</td> <td>frozenValue</td>
<td>array</td> <td>array</td>