Hello webix, how i can getParentId from Subview when i click “detail” button in subview datatable ? i need this for getItem from parentId
Sample : https://snippet.webix.com/f8df0ekc
Thank You
Hello webix, how i can getParentId from Subview when i click “detail” button in subview datatable ? i need this for getItem from parentId
Sample : https://snippet.webix.com/f8df0ekc
Thank You
you can pass any argument to subview in onSubviewCreate
event and use it when required.
to retrieve master view from subview use getMasterView
method
https://docs.webix.com/datatable__subviews.html#gettingmasterview
check this
https://snippet.webix.com/ou7e4wmx
alternatively you can define subview
as function
https://docs.webix.com/api__ui.datatable_subview_config.html
Thank You sir, it’s work