how to dynamically set the combo drop down list height according to window height

Hello all,
I have combo editor in column of datatable and the datatable is in window. I want drop down list to be opened at bottom side only. so the issue is whenever i click on combo the drop down list get cuts. so i want dynamically adjust the drop down list acording to selection of each combo item.
ex : if i select the combo from the last row of the datatable then the drop down list height should be adjusted in such a way that it should not excced the window height [it should wrap up the list height according to window for any row from the table]
Please use below snippet:
https://snippet.webix.com/cc5a1qwd

check this
https://snippet.webix.com/ngfoa7m8

@integral Thanks for quick reply…

Is it possible to change the autofit property on Datatable onAfterEditStart event, it works when I set this property on onShow event of combo editor. But I want to set this property on datatable events only[for some CSS issues]

firstly the property set to autofit:“node”, I want to change this property to autofit:“true”
once onAfterEditStart event call.

Please use below snippet:
https://snippet.webix.com/9bj9on1o

Please suggest any solution…
I want the drop down list should be automatically adjusted[bottom or top].
In my application due to some CSS class,it shows drop down list bottom only. and I am unable to get exactly which class is overriding this property.