File tree Expand file tree Collapse file tree 5 files changed +172
-153
lines changed
apps/kitchen-sink/src/ensemble/screens
packages/runtime/src/widgets Expand file tree Collapse file tree 5 files changed +172
-153
lines changed Original file line number Diff line number Diff line change 22" @ensembleui/react-runtime " : patch
33---
44
5- enhance DataGrid with rowHoverStyle and hideSelectAll props for improved styling and functionality
5+ enhance DataGrid with rowHoverBg and rowSelectedHoverBg styles
Original file line number Diff line number Diff line change @@ -526,6 +526,8 @@ View:
526526 hasDivider : true
527527 borderBottom : false
528528 hidePagination : true
529+ allowSelection : true
530+ hideSelectAll : true
529531 DataColumns :
530532 - label : Number
531533 scroll :
@@ -540,6 +542,10 @@ View:
540542 name : dummyData
541543 template :
542544 DataRow :
545+ styles :
546+ backgroundColor : lime
547+ rowHoverStyle :
548+ backgroundColor : yellow
543549 children :
544550 - Text :
545551 id : ${'x_'+index}
Original file line number Diff line number Diff line change @@ -233,6 +233,12 @@ export const Collapsible: React.FC<CollapsibleProps> = (props) => {
233233 expandIconPosition = { props . expandIconPosition }
234234 items = { [ ...collapsibleItems , ...templateItems ] }
235235 onChange = { handleCollapsibleChange }
236+ style = { {
237+ ...values ?. styles ,
238+ ...( values ?. styles ?. visible === false
239+ ? { display : "none" }
240+ : undefined ) ,
241+ } }
236242 />
237243 </ ConfigProvider >
238244 ) ;
You can’t perform that action at this time.
0 commit comments