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",
|
type: "boolean",
|
||||||
default: "false",
|
default: "false",
|
||||||
description: "Defines if data is loaded and interacted with in lazy manner."
|
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.
|
* Defines if data is loaded and interacted with in lazy manner.
|
||||||
*/
|
*/
|
||||||
lazy?: boolean | undefined;
|
lazy?: boolean | undefined;
|
||||||
|
/**
|
||||||
|
* Name of the data that uniquely identifies the a record in the data.
|
||||||
|
*/
|
||||||
|
dataKey: string | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DataViewSlots {
|
export interface DataViewSlots {
|
||||||
|
|
|
@ -107,7 +107,10 @@ export default {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
dataKey: null
|
dataKey: {
|
||||||
|
type: String,
|
||||||
|
default: null
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -334,6 +334,12 @@ export default {
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>false</td>
|
<td>false</td>
|
||||||
<td>Defines if data is loaded and interacted with in lazy manner.</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>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue