Datatable onViewShow

Hi webix team,
in Code Snippet I changed the onViewShow event from attachEvent to on:{}.

onViewShow works with attachEvent but not with the definition in

on: {
onViewShow: function() {

thanks for advice

Hi, the onViewShow event fires when a view is shown so you need to call the show() method for your view, but not in the event, you could do it on button click as in your example
Check the snippet: Code Snippet