Hi,I am using a gridField ... Now I want to highlight a row based on a value of a particular value ..
say suppose I am displaying employee info (id, name, salary, location etc ) ... Now I want to highlight a row where the employee id = 10 with red color ...
Is it possible to do so ?
Discussion posts and replies are publicly visible
No. Grids do not support that. But you can show a red icon in that row.
You should be able to do it by passing the selection value and playing with some properties of the grid.
a!localVariables( local!selection: 1, local!data: { { id: 1, label: "Harshit" }, { id: 2, label: "HarshitBumb.com" }, { id: 1, label: "AppianSpace.com" } }, a!gridField( data: local!data, columns: { a!gridColumn( label: "ID", value: fv!row.id ), a!gridColumn( label: "Name", value: fv!row.label ) }, selectable: true, selectionStyle: "ROW_HIGHLIGHT", selectionValue: local!selection ) )
Also, set disableRowSelectionWhen to true.
Thank you
+1 for this feature.
This is an old discussion. Since release 23.3 it has been possible to set the backgroundColor of gridColumn()
is this also available at the row or cell level?
Hi aminw4267 ,
This link may be help you.
https://docs.appian.com/suite/help/24.3/grid-with-heatmap-pattern.html
Thank you very much!
Grids [SAIL Design System: Components] (appian.com)
You can check that link.