lowcoder-org / lowcoder

🔥 🔥 🔥 The Open Source Retool, Tooljet and Appsmith Alternative
https://www.lowcoder.cloud/
GNU Affero General Public License v3.0
841 stars 175 forks source link

[Bug]: currentCell not set for custom mapped columns #1017

Closed dmacd closed 2 months ago

dmacd commented 3 months ago

Is there an existing issue for this?

Current Behavior

Custom column with explicit data mapping does not set currentCell in the conditional cell color. Value is undefined.

image

Larger useability issue - regenerating columns from a table that was already automapped when the underlying query changes doesnt work, necessitating adding custom columns and hitting this issue.

Expected Behavior

currentCell should be set properly in custom column or at least currentRow should be available.

Steps to reproduce

Create a custom column in a table with an explicit mapping, try to set the conditional cell color for it. See screenshot.

Environment

lowcoder.cloud

Additional Information

No response

dmacd commented 3 months ago

Additional and probably related issue - sort does not work on columns like this.

dmacd commented 3 months ago

Okay, apologies for the confusion. No sooner did I post this than the table did manage to auto-refresh (not sure why it didn't the first 5 times I clicked the refresh button) and give me normally mapped columns. But currentCell still doesnt work in the conditional cell color, so perhaps the explicit column mapping was a red herring.

raheeliftikhar5 commented 2 months ago

This is fixed in v2.4.4