Hervé Posted April 8, 2025 Posted April 8, 2025 Hello, I'm trying to get a Search bar, into my uniGuid... I've take a look on unit DatabaseDBLookupComboBox in demos... The UniDBGrid2 have a nice one in the demo... I would like to get a similar one... But I don't succeed to place one in my project... What property of the unidbgrid I must change? Big thank you in advance, for any help! With Best regards, Hervé Quote
Sherzod Posted April 8, 2025 Posted April 8, 2025 Hello, Could you please clarify what kind of search bar you're trying to add? Are you referring to a filter row in the grid, or maybe a lookup field? Quote
Hervé Posted April 8, 2025 Author Posted April 8, 2025 Hello, A filter row, on the top of the grid, in the title row... Thank you, Hervé Quote
Sherzod Posted April 8, 2025 Posted April 8, 2025 23 minutes ago, Hervé said: A filter row, on the top of the grid, in the title row... It seems you're referring to column filtering. To achieve this, you need to enable some properties on the grid column — specifically Columns[xx].Filtering. Assign an editor (like a UniEdit placed inside a UniHiddenPanel) to Filtering.Editor. Then, handle the actual filtering logic inside the grid’s OnColumnFilter event. For a more detailed example, you can take a look at the UniGUI demo projects, especially the Filtering demos. \FMSoft\Framework\uniGUI\Demos\Desktop\GridFiltering \FMSoft\Framework\uniGUI\Demos\Desktop\GridFiltering-2 1 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.