Forum
Sign Up
× DataGrid for Qt.C++

Customize FindPanel

2 years 6 days ago #1 by GYEYOUNG TNI CO LTD
1. I want to use the function without displaying the FindPanel on the screen.

2. I want to separately specify the column used for FindPanel search.

3. When displaying the FindPanel, I want to display at other position. (mainly at the bottom)

Please Log in or Create an account to join the conversation.

More
2 years 2 days ago #2 by GYEYOUNG TNI CO LTD
knock, knock. hello?

Please Log in or Create an account to join the conversation.

More
2 years 2 days ago - 2 years 2 days ago #3 by Developer Machines
>>1. I want to use the function without displaying the FindPanel on the screen.

If I understand you correctly, you need to set the filter for the rows without using the find panel bar.
It can be done. Look at an example CustomFilter.exe, such possibility is demonstrated there.

>>2. I want to separately specify the column used for FindPanel search.

To do that, use have option GridViewOptions::setFindColumnList(const QStringList& list);
    GridTableView* view = m_grid->view<Qtitan::GridTableView>();
    QStringList filterColumns;
    filterColumns.append("Integer");
    view->options().setFindColumnList(filterColumns);

However, in the latest version there is a bug in the option :(. We have prepared a bug-fix for this issue, if you are not ready to wait for the next version, write to us at This email address is being protected from spambots. You need JavaScript enabled to view it.
to download the current source build.

>>3. When displaying the FindPanel, I want to display at other position. (mainly at the bottom)

At the moment only top position is supported.
Last edit: 2 years 2 days ago by Developer Machines.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #4 by GYEYOUNG TNI CO LTD
hmm. i dont want filter. i want findpanel feature.

find panel has below features.
1. whether to display only matching records. - simple function call (setFilterActive)
2. Matching strings can be highlighted in a column

i want to this feature without display find panel bar.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago - 1 year 11 months ago #5 by Developer Machines
Ok, to the next version these methods will be added:
GridTableView* view = m_grid->view<Qtitan::GridTableView>();
view->find(QString(), GridFindOption());
...
view->findClear();
Last edit: 1 year 11 months ago by Developer Machines.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #6 by GYEYOUNG TNI CO LTD
when release date?

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.159 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )