Set width and height dynamically with JavaScript

Is there any way of getting current device width and height in JavaScript, and then use that variable to define Height in a Panel or a Grid?

Nope, that would be a bad idea. JS is not meant to control the UI beyond providing data for the UI to databind to.

If you explain your use case we could help find the best way to acheive it :slight_smile: