Jump to content

Recommended Posts

Posted

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é

 

 

Posted

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?

Posted
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

 

  • Happy 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...