Link to home
Start Free TrialLog in
Avatar of senad
senadFlag for Slovenia

asked on

cxGrid - Filter Grid View

I know how you can filter records of a column using the built in filters.However I would like the grid level to be filtered when I open it.Is there a way to do it ?
Avatar of Geert G
Geert G
Flag of Belgium image

could you explain a little more ?
what do mean with grid level ?
Avatar of senad

ASKER

With cxGrid you can display data from one table in various ways creating views.
First you create GridLevel and then the view you want .
Example: CxGridLevel1:CxGrid1DBTableView1
and so on...
My problem is that this table has too many columns for comfort(I do not need all the fields shown).So I split it in 2 parts (creating 2 TableViews).
However,some fields are still pretinent to both views so I have to filter them further.
The only way I can do it is by a field called EVENT.
Now in this event field values are "bill in" and "bill out".
So I want one view to show me "bill in" and the other"bill out".
But I want it done at runtime,not by using the filter in the columns:Understand?
ASKER CERTIFIED SOLUTION
Avatar of Geert G
Geert G
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of senad

ASKER

Need ti hide columns ...
tried
visible := false  ?
Avatar of senad

ASKER

I try to avoid that...
That's my last resort :-)
could you care to clarify a bit more ?
screenshot of the results you want ...
Avatar of senad

ASKER

How do you band table thing on a column?
eh , ?
to have a banded table view :

hit customize button of grid
right click on level
create view -> Create DB Banded Table view

you set the *position* of each column on the bandindex, columnindex, rowindex

that's it
Avatar of senad

ASKER

"you set the *position* of each column on the bandindex, columnindex, rowindex"
thats the confusing part...
*position* is a property of a column
Avatar of senad

ASKER

I know,but how do you display different column  records separate?
i don't follow you ...
a screenshot explaining what you want ... ?
Avatar of senad

ASKER

just like in your  pic..
did you add multiple bands ?
Avatar of senad

ASKER

Yo,I got it but no clue to how to proceed...
Never mind,I am really in no mood for learning.
i can't help it you don't understand or in no mood to understand
what's the reason for a B ?
Avatar of srbenavrbe
srbenavrbe

Bandedview....never used that...hmmm....
i'll offer max pts for instruct how to do that.
lol, you need to open your own question for that ...