tiberiuzuld / angular-gridster2

Angular gridster 2
https://tiberiuzuld.github.io/angular-gridster2
MIT License
1.27k stars 377 forks source link

Hi #314

Closed princevg closed 6 years ago

princevg commented 6 years ago

Hi I have facing one issue on the gridster. For my requirement I don't want to scroll beyond the screen size and not to shrink the ui to accommodate another item. The UI should remains as the same. Is there any way to do that. I am staying on that 3 days. Please help if anyone has some ideas

tiberiuzuld commented 6 years ago

Hi @princevg , The only thing you can do is set maxRows and maxCols. You can set gridType: 'fit' if you don't want a scroll.

The items added after maxRows and maxCols will not be displayed.

You cannot limit the screen size of the user. In gridType: 'fit' the items will have different size depending on the users screen size.

From your requirements seems that you want to change how the web works. This library is not about that is about having a responsive dashboard depending on the space available.