Code Monkey home page Code Monkey logo

Comments (7)

sraedler avatar sraedler commented on May 27, 2024 1

Thanks for helping!

from advanceddatagridview.

davidegironi avatar davidegironi commented on May 27, 2024

Hello, take a look here: #79

from advanceddatagridview.

sraedler avatar sraedler commented on May 27, 2024

Unfortunately, it is not what I intend to do.

I want to display a table when starting an application. The table contains entries where one column contains a Boolean value. This shows if the record in this row is completed.

When starting the application I want to display only complete records, but give the user the possibility to display all records available (incl. uncompleted ones).

With the CleanFilterAndSort method this would be possible, but then I need an extra button or control to unload the filter, right?

from advanceddatagridview.

davidegironi avatar davidegironi commented on May 27, 2024

Due to internal ADGV strcuture it's not possible to set a filter pragmatically. It's something I want to add, but currently I don't have the time to do this.
To achive your goal there's two things that comes in to my mind:

  1. you can override the On Filter changed event, to and built some custom code there
  2. in my opinion the simpler and claner way to do this is to filter the datasource, putting a filter on "top" of adgv loading. If you look as example at the dentned project (https://github.com/davidegironi/dentned) you can find on many forms a datasource filter (on view is top left).

from advanceddatagridview.

peros550 avatar peros550 commented on May 27, 2024

Hi David, did you have time to check this feature? It would be a very nice addition.

from advanceddatagridview.

davidegironi avatar davidegironi commented on May 27, 2024

Hello @peros550 , unluckily not yet.

from advanceddatagridview.

peros550 avatar peros550 commented on May 27, 2024

no wories, I just followed your advice above and filtered the data one step before I pass them to the Datagridview. Having the option to work with datagridview's UI , in terms of filtering, would be great. All the best.

from advanceddatagridview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.