Merge pull request #2362 from tugcekucukoglu/dataview
Fixed #2361 - DataView new dataKey propertypull/2364/head
commit
35370c179b
|
@ -88,6 +88,12 @@ const DataViewProps = [
|
|||
type: "boolean",
|
||||
default: "false",
|
||||
description: "Defines if data is loaded and interacted with in lazy manner."
|
||||
},
|
||||
{
|
||||
name: "dataKey",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Name of the data that uniquely identifies the a record in the data."
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -113,6 +113,10 @@ export interface DataViewProps {
|
|||
* Defines if data is loaded and interacted with in lazy manner.
|
||||
*/
|
||||
lazy?: boolean | undefined;
|
||||
/**
|
||||
* Name of the data that uniquely identifies the a record in the data.
|
||||
*/
|
||||
dataKey: string | undefined;
|
||||
}
|
||||
|
||||
export interface DataViewSlots {
|
||||
|
|
|
@ -107,7 +107,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
dataKey: null
|
||||
dataKey: {
|
||||
type: String,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -334,6 +334,12 @@ export default {
|
|||
<td>boolean</td>
|
||||
<td>false</td>
|
||||
<td>Defines if data is loaded and interacted with in lazy manner.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>dataKey</td>
|
||||
<td>string</td>
|
||||
<td>null</td>
|
||||
<td>Name of the data that uniquely identifies the a record in the data.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue