From c9df934f2a0b07755fa314a611d1bb7c9c075e39 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 15 Nov 2021 16:32:35 +0300 Subject: [PATCH] Doc for rowStyle --- api-generator/components/datatable.js | 2 +- src/views/datatable/DataTableDoc.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api-generator/components/datatable.js b/api-generator/components/datatable.js index 737934b9b..2ebbb6a9e 100644 --- a/api-generator/components/datatable.js +++ b/api-generator/components/datatable.js @@ -303,7 +303,7 @@ const DataTableProps = [ name: "rowStyle", type: "object", default: "null", - description: "Inline style of the row." + description: "A function that takes the row data as a parameter and returns the inline style for the corresponding row." }, { name: "scrollable", diff --git a/src/views/datatable/DataTableDoc.vue b/src/views/datatable/DataTableDoc.vue index d48fa7955..094a3297d 100755 --- a/src/views/datatable/DataTableDoc.vue +++ b/src/views/datatable/DataTableDoc.vue @@ -2106,13 +2106,13 @@ export default { rowClass function null - A function that takes the row data and returns a string to apply a particular class for the row. + A function that takes the row data as a parameter and returns a string to apply a particular class for the row. rowStyle object null - Inline style of the row. + A function that takes the row data as a parameter and returns the inline style for the corresponding row. scrollable