Delphi 11.1. IP ver: 18.104.22.168
I have a wwDBGrid whose datasource is linked to a fdQuery component. the FDQuery runs a select from a MSSql View. I have 2 Calculated fields assigned to the FDQuery and these 2 fields are the only columns that show in the grid at runtime. The FDQuery has it's "fieldOptions" set to CombineComputed and the field objects for the FDQuery are dynamically created by the FdQuery.
I can manually Add columns to the wwDBGrid and all fields that are produced by the FDQuery are available.
I am trying to get the wwDBGrid to show all resulting fields in the grid even though they are not in the "Selected" property of the wwDBGrid at designtime. I would ultimately like to have the wwDBGrid restore the grid layout that was saved within the associated INI file and append any new columns to the end of the wwDBGrid.
I have the INIAttribues set to "CheckNewFields".
Are there wwDBGrid component settings that would allow for this behavior?
Please sign in to leave a comment.