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

Jorge Carrión shordi at ...626...
Sun Jun 18 11:57:50 CEST 2017


"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
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2017-06-18 11-12-58.png
Type: image/png
Size: 54346 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20170618/ed87a5d3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wGridFilterSample-0.0.1.tar.gz
Type: application/x-gzip
Size: 33579 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20170618/ed87a5d3/attachment.bin>


More information about the User mailing list