abiery_iqms Posted January 30, 2017 Posted January 30, 2017 Hi all, Allow me to apologize in advance if I am posting in the wrong topic, or this question has already been answered. I have the following setup TDataSource TDataSet TUniDBGrid I set the TDataSource.TDataSet property to be my dataset (a TFDQuery with 70+ columns in the fields editor) I then set TUniDBGrid.DataSource property to be my DataSource. At run-time, my TUniDBGrid populates, and columns are shown. However, it only shows the first 7 instead of every field in the TDataSet Fields Editor. Is this by design? Surely there can't be a hard-coded limit of 7 columns in a TUniDBGrid... I scroll all the way over and still, only 7 fields display. Please point me in the right direction? Thanks in advance! Quote
Sherzod Posted January 31, 2017 Posted January 31, 2017 Hi, If I understand correctly you, the reason for this can be, if you have created columns in designtime... Try to remove UniDBGrid columns in DesignTime Best regards. Quote
abiery_iqms Posted January 31, 2017 Author Posted January 31, 2017 @Delphi Developer My TUniDBGrid does not have any columns assigned at design time. Do you have any other ideas? Quote
abiery_iqms Posted January 31, 2017 Author Posted January 31, 2017 @Delphi Developer This was a mistake on my part. I went to the columns property on the TUniDBGrid and inside of the field editor, I used the "Add All Fields" button and they all appeared at run time. Thanks for your help and your patience with my silly question! Quote
Administrators Farshad Mohajeri Posted February 4, 2017 Administrators Posted February 4, 2017 Even if you don't create all columns at design time all columns should be created and displayed automatically @runtime. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.