c# - Manually way to trigger the CustomRowFilterEvent -


we want filter rows in xtragrid winforms. refreshdata() can take long time (all rows seem read agin db).

the method fire teh event seems hidden in depth of devexpress,

devexpress.xtragrid.views.base.columnview.raisecustomrowfilter(int32 listsourcerow) 

(a protected internal method)

is there way fire event, if gridview known?

my problems begins @ first stage. how method?

methodinfo methodinfo = gridview.gettype().getmethod("raisecustomrowfilter"); returns null

if have linq included:

dataview dv = thedatatable.asdataview(); dv.rowfilter = "mycolumn > 3"; gridcontrol1.datasource = dv; 

you can datasource

bindingsource bs = new bindingsource; bs.datasource = thedatasorce; bs.filter = "mycolumn > 3"; gridcontrol1.datasource = bs; 

these filters not visible users.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -