Hi ,
I am trying to implement: On Click of Dynamic Link displaying one Grid, But AS per the requirement This needs to be displayed as side By side,
As of Now On click of Link the grid is displaying but How would I make side By side grid, Since grid has box Layout and Grid Field ,Ui is throwing error .
How would I make change in this code -On click of link grid has to be displayed.
a!localVariables( local!priority: false(), { a!linkField( /*label: "Link Field",*/ links: { a!dynamicLink( label: "Audit History", value: local!priority, saveInto: a!save(local!priority, true()) ) } ), a!sectionLayout( contents: { rule!CR_APP_SC_auditDetails( cif_int: ri!cif_int, sectionName_txt: cons!CR_APP_TXT_AUDIT_SECTION_NAMES[1] ) }, showWhen: local!priority ) } )
Discussion posts and replies are publicly visible
Use the showWhen parameter in the section layout.
Hi Stefan , I have used showWhen ,Sorry Let me know if anything I have missed.
a!localVariables( local!priority: false(), { a!linkField( /*label: "Link Field",*/ links: { a!dynamicLink( label: "Audit History", value: local!priority, saveInto: a!save(local!priority, true()) ) } ), a!sideBySideLayout( items: a!sideBySideItem( item: rule!CR_APP_SC_auditDetails( cif_int: ri!cif_int, sectionName_txt: cons!CR_APP_TXT_AUDIT_SECTION_NAMES[1] ) ), showWhen: local!priority ) } )
If I use sideByside Item, getting this error -Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!sideBySideLayout [line 14]: A side by side layout has an invalid item. The item at index 1 contains a component that is not supported in a side by side layout. Received: BoxLayout.
OK. Well ... did you consider to use a columns layout instead of that side-by-side?
yeah But User has to scroll to see the data If I use column Layout.