scottdurow / power-drag-drop

MIT License
132 stars 29 forks source link

order of the columns and cells not coherent #82

Open Maverick90274 opened 3 months ago

Maverick90274 commented 3 months ago

Hello Scott, I've been using this plugin for almost 2 years now and it works great. Kudos! In the past couple of days, something strange happened. The order of the columns changes and the order of my data in the cell too. it is not consistent with the code. I did not push any updates. Do you have any idea was could have happened?

Screenshot 2024-08-16 074332
craigmday commented 3 months ago

I have noticed this same behavior recently which I posted about separately. It seems that the order of the fields in the Drag and Drop control are now determining the order of the items and this is taking precedence over any other sorting you try to apply. I tried custom sorting options and it doesn't appear to work for me. I was able to work around my issue by putting my sorting column as the top field in the Drag and Drop field list, but I would like to understand why this is behaving this way since I would like to have the option to dynamically change the sort order.

Maverick90274 commented 3 months ago

it looks like it is a problem due to a new authoring version of powerapps it is very strange of the html template in the cell is also totally reversed

Maverick90274 commented 3 months ago

@craigmday How did you "putting my sorting column as the top field in the Drag and Drop field list"

craigmday commented 3 months ago

Hi Maverick,

I select the Drag and Drop component, then select "Fields", and I move the field I want to sort by to the top of the list. For example, I am using an integer-based field called "Call No." to sort my items, so if I put it at the top of the field list, it sorts correctly: image

Hope that helps.

BaptisteWetterwald commented 3 months ago

Same here

Maverick90274 commented 3 months ago

Does anyone know how we could ask directly Scott?

Maverick90274 commented 3 months ago

I just published an update on my app and it looks like everything is working again

Maverick90274 commented 2 months ago

Well, without any update, for unknown reason the display is again incoherent. What can we do to avoid those weird display change? Is this plugin not supported anymore?