katoid / angular-grid-layout

Responsive grid with draggable and resizable items for Angular applications.
https://katoid.github.io/angular-grid-layout
MIT License
462 stars 61 forks source link

A few questions or feature requests (nested feature, dropping in between ktd-grid) #18

Open andre-ellrich-adup opened 3 years ago

andre-ellrich-adup commented 3 years ago
  1. is it possible to drop an ktd-grid-item between two ktd-grid-components? 2 is it possible to have ktd-grid-components inside ktd-grid-component? And drop items between nested ktd-grid-components?
llorenspujol commented 3 years ago

1- is it possible to drop an ktd-grid-item between two ktd-grid-components? No, it is not possible right now, it would need to be imlpemented.

2- is it possible to have ktd-grid-components inside ktd-grid-component? And drop items between nested ktd-grid-components? Is not possible to have nested ktd-grid-components right now, although is pretty easy to add it's support. Dropping items between nested ktd-grid-components would be the same feature as question 1.

In resume both features are not supported right now, but they could be implemented (they are both quite easy achievable). If more people demands it I would add them on the TODO list. If you want to have it, you can implement it, we can talk about the solution. I am okay to have this features, they are really nice.

andre-ellrich-adup commented 3 years ago

I have once tried to create a drop grid like yours but could not progress very far. It was based on cdk-tree and cdk-drag-drop. Have you ever considered using a cdk-datasource for this task?

llorenspujol commented 3 years ago

You don't need cdk-datasource for that AFAIK. Said that, cdk-drag-drop module can contain great ideas on how to implement the feature about dragging grid-items between different grids, since they have implemented it, but instead of grids, the drag and drop containers are lists. So the solution could be something similar on what cdk-drag-drop uses to drag drag-items between Lists.

Identity-labs commented 1 year ago

No solution has been found to have grid layout like this library and DND between layout. Actually i use CDK, but search actively a solution to have grid layout with features of CDK.

agonhasani commented 1 year ago

If you want to have it, you can implement it, we can talk about the solution.

Hi @llorenspujol ,

I am interested in implementing this. Where/when can we talk about the solution?

llorenspujol commented 1 year ago

@agonhasani I created a discord server, we can talk there: https://discord.gg/TPWE3DPP

EpicDiceStudio commented 1 year ago

Hi,

What is the status of the grid nesting feature? I am very interested :)

Rlima2 commented 1 year ago

1- is it possible to drop an ktd-grid-item between two ktd-grid-components? No, it is not possible right now, it would need to be imlpemented.

2- is it possible to have ktd-grid-components inside ktd-grid-component? And drop items between nested ktd-grid-components? Is not possible to have nested ktd-grid-components right now, although is pretty easy to add it's support. Dropping items between nested ktd-grid-components would be the same feature as question 1.

In resume both features are not supported right now, but they could be implemented (they are both quite easy achievable). If more people demands it I would add them on the TODO list. If you want to have it, you can implement it, we can talk about the solution. I am okay to have this features, they are really nice.

Hi, i realy need this so bad right now, i think other people also do. While you can't do it @llorenspujol , can you just give me some guidance so i can try my self?

Thank you

llorenspujol commented 1 year ago

Hey @Rlima2 !

I have a small Discord server to discuss features like this, you can join it here

@arnoudb drafted already some of the solution on this discord. The channel to discuss it is #dnd-between-grids.

ray-kay commented 1 year ago

Hi @llorenspujol,

I would also need the functionality to drop an item from outside into the grid. Placing components from a pool (outside) into a dashbord (grid).

Any timeline on this?

Many thanks

llorenspujol commented 1 year ago

Hi @ray-kay!

There is no set timeline for implementing this feature. If anyone is interested in having it, I suggest implementing it yourself. You can join the Discord , and I will provide implementation guidance. It's not a difficult issue, it just requires some some time to pull of.

Rlima2 commented 1 year ago

Hi @ray-kay!

There is no set timeline for implementing this feature. If anyone is interested in having it, I suggest implementing it yourself. You can join the Discord , and I will provide implementation guidance. It's not a difficult issue, it just requires some some time to pull of.

I also want that a lot, but no time for now to do it.