I am having problem with dynamic component rendering with 'ViewContainerRef' in a gridster item.
I have implemented a component which takes component reference, inputs and outputs as input and creates this given component inside itself.
ex:…
I am currently working on the integration of angular-gridster2. The goal is to get a grid with a fixed row height, fixed column count and the size should be calculated. This is my current GridsterConfig:
{
setGridSize: true,
margin: 5,
…
I try to use the Angular-gridster2 and I have a problem - when I add the most first element to the grid - this element takes all space of the grid. How it looks in the Elements in the browser.
I have upgraded my angular version from 12 to 14.
After that I have received many error which I resolved but in the end I for the following error I'm not sure what I should do. The angular-gridster2.mjs is one of the packages that has installed and…
Using Angular 7 and Gridster2.
I have a dashboard which contains multiple widgets. Each widget is separate angular component within gridster item.
I have to update a widget data when i click in another widget.
My Problem is the model is getting…
I have used Gridster 2 to create Widget in my angular application.
but I have now a problem, in a widget there is a text area input field, but this input field can not be editable, because the whole widget is draggable.
I have try to use z-index,…
After doing some resize/drag actions on my dashboard, I want to save the updated size and position of my changed widget in my MongoDB database.
Luckily the gridster library has the posibility to react to dragable and resize Events. But unfortunately…
e.g. in this demo https://tiberiuzuld.github.io/angular-gridster2/push
When I move item 2 to the top, 1 and 3 are moved down and an empty row (4) is added:
I could not find a way to get rid of this empty row: i.e. I'd like to get this result after…
I've added a custom tooltip to an SVG chart within gridster item (all examples are provided on stackblitz). Tooltip (div) coordinates are obtained using nativeElement and set using the Renderer2 (trivial example - tooltip div is offset by 20px).…
I'm using the angular-gridster2 library to add items to a page. I want to load content in those items being added. The elements are placed via an ngFor and added/removed via a service. I've looked at ComponentFactoryResolver and componentRef for…
I want to make a dynamic dashboard to display information with the ability to select a charts to represent it.
In my project, I connected the angular-gridster2 package to work with a dynamic grid https://www.npmjs.com/package/angular-gridster2.
I…
Is there a way to set boundaries on the Gridster? Right now I have a behavior, that the gridster item moves halfway out of the grid. I would like that there is a boundary, and drag stops/doesn't allow to drag it more, immediately when you hit the…