[Gambas-user] search over the gridview and not to the database and refill grid its possible?

PICCORO McKAY Lenz mckaygerhard at ...626...
Sun Jun 18 14:12:10 CEST 2017


hi Jorge, great.. thanks for the sample, its just that i need!!!!

when my skills in gambas grow i'll try to make a componente that looks like
the "vanilla datatables"

now i'll take a look and report feedback

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-06-18 5:57 GMT-04:00 Jorge Carrión <shordi at ...626...>:

> "Dress me slowly that I'm on a hurry"...
> There is a Copy-Paste bug on the previous attached file.
> This on works (I hope).
>
> I forgot to mention that the class has a "Value" property that return a
> collection with the selected row texts as values and the columns heads text
> as keys.
>
> Best Regards
>
>
> 2017-06-18 11:14 GMT+02:00 Jorge Carrión <shordi at ...626...>:
>
> > Hey, Piccoro,
> > Take a look at this, maybe it will serve or give you some idea of how to
> > do it.
> > It is a class inheriting from gridView and has a new property called
> > source, which can be a two-dimensional array, an array of collections or,
> > directly, a Result.
> > With this it is conformed a gridView that you can order (click on column
> > header) and on which you can do searches and certain level of filtering
> > (Shift + Click on cell).
> > I can not guarantee that it will not have bugs, because it has been very
> > little tested, but if it serves you, there you have it.
> >
> >
> >
> > Best Regards
> > ​
> >
> > 2017-06-18 7:55 GMT+02:00 PICCORO McKAY Lenz <mckaygerhard at ...626...>:
> >
> >> as subject said: search over the gridview event to the database and
> refill
> >> grid its possible?
> >>
> >> i have a gridview object filled with data from the db, note: column
> names
> >> are autodetected.
> >>
> >> its there any way to search over gridview data and filter the results in
> >> gridview or there-s some object with that behaviour?
> >>
> >> Lenz McKAY Gerardo (PICCORO)
> >> http://qgqlochekone.blogspot.com
> >> ------------------------------------------------------------
> >> ------------------
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> >
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>



More information about the User mailing list