GoldLine Posted November 4, 2020 Posted November 4, 2020 Hello, how can we expand/collaps unimdbgrid group at runtime (coding)? Thx
GoldLine Posted November 5, 2020 Author Posted November 5, 2020 Hello Sherzod, yes, uniMdbgrid. I want collaps groups after opening dataset.
edbuescher Posted March 18, 2021 Posted March 18, 2021 Was this ever answered? I have a uniDBGrid with groups that I want to replicate the FullExpand/FullCollapse functions
Sherzod Posted March 19, 2021 Posted March 19, 2021 On 11/11/2020 at 10:59 AM, GoldLine said: any news about it? Hello, Sorry for the late response, I couldn't find a solution then.
Sherzod Posted March 19, 2021 Posted March 19, 2021 7 hours ago, edbuescher said: Was this ever answered? I have a uniDBGrid with groups that I want to replicate the FullExpand/FullCollapse functions Hello, Which component are you using? Mobile or desktop grid? And clarify your question again please.
edbuescher Posted March 19, 2021 Posted March 19, 2021 Sherzod, I'm using the desktop components. Scenario #1: I'm creating an app that uses a TUniDBGrid. I have Grouping enabled on a column and "Collapsible=True", which puts a +/- Expand/Collapse image on the now expandible/collapsible rows. This all works fine using the mouse to click on the +/- icons, but I'd like to have my own buttons that basically do a FullExpand or FullCollapse operation. So if there is no true FullExpand/FullCollapse method for the TUniDBGrid groups, how do I iterate through the rows to programatically expand/collapse each individual row, or would I do this via a client-side event? Scenario #2: Instead of using the above approach in my app, I may use one similar to the example on your website for "Row Widget" in the "Grids" examples. In that example would it be possible to include buttons on the form to mimic the FullExpand/FullCollapse functionality? Thanks
Sherzod Posted March 19, 2021 Posted March 19, 2021 34 minutes ago, edbuescher said: Scenario #1: I'm creating an app that uses a TUniDBGrid. I have Grouping enabled on a column and "Collapsible=True", which puts a +/- Expand/Collapse image on the now expandible/collapsible rows. This all works fine using the mouse to click on the +/- icons, but I'd like to have my own buttons that basically do a FullExpand or FullCollapse operation. So if there is no true FullExpand/FullCollapse method for the TUniDBGrid groups, how do I iterate through the rows to programatically expand/collapse each individual row, or would I do this via a client-side event?
Recommended Posts