Re: T5: Removing empty valued columns from grid (A Solution)

2009-10-17 Thread Fermin Da Costa Gomez
For those that have a similar requirement to the one i have/ had i herewith post my (current) solution I load the model via a separate method after i retrieved the result set from the search. ... private void loadModel() { // Get the columns from the resultset that actually contain data _sear

Re: T5: Removing empty valued columns from grid

2009-10-16 Thread Fermin Da Costa Gomez
On Fri, Oct 16, 2009 at 7:31 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Fri, 16 Oct 2009 13:40:18 -0300, Fermin Da Costa Gomez < > dacostago...@dcgconsultancy.nl> escreveu: > > Hmm, mucking about in the DOM is not what i'm looking forward to .. >> I my assumption correct

Re: T5: Removing empty valued columns from grid

2009-10-16 Thread Thiago H. de Paula Figueiredo
Em Fri, 16 Oct 2009 13:40:18 -0300, Fermin Da Costa Gomez escreveu: Hmm, mucking about in the DOM is not what i'm looking forward to .. I my assumption correct that once the grid building has started it *is*actually doing the rendering as such? I guess so. Makes sense to think that Grid exp

Re: T5: Removing empty valued columns from grid

2009-10-16 Thread Fermin Da Costa Gomez
On Fri, Oct 16, 2009 at 1:22 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Thu, 15 Oct 2009 20:02:31 -0300, Fermin Da Costa Gomez < > dacostago...@dcgconsultancy.nl> escreveu: > > Coming to think about it i have to rephrase my question to: >> Is is possible to 'modify' the g

Re: T5: Removing empty valued columns from grid

2009-10-15 Thread Thiago H. de Paula Figueiredo
Em Thu, 15 Oct 2009 20:02:31 -0300, Fermin Da Costa Gomez escreveu: Coming to think about it i have to rephrase my question to: Is is possible to 'modify' the grid *after* the conduit has done its job, ie. just prior to the actual rendering. I guess not, but you can write a mixin to do that

Re: T5: Removing empty valued columns from grid

2009-10-15 Thread Fermin Da Costa Gomez
> > My question is twofold: >> 1. Can i modify the grid model (excluding columns) after its initial >> creation, and >> > > Yes. Just use beanModel.exclude(); I was that far .. ;-) 2. If so, what would be the best place to do so? > When I need to manipulate the BeanModel, I create a BeanModel g

Re: T5: Removing empty valued columns from grid

2009-10-15 Thread Thiago H. de Paula Figueiredo
Em Thu, 15 Oct 2009 19:12:40 -0300, Fermin Da Costa Gomez escreveu: Hi, Olá! :) My question is twofold: 1. Can i modify the grid model (excluding columns) after its initial creation, and Yes. Just use beanModel.exclude(); 2. If so, what would be the best place to do so? When I need

T5: Removing empty valued columns from grid

2009-10-15 Thread Fermin Da Costa Gomez
Hi, I'm looking for a piece of advice/suggestion on the best way to handle the following. Using Lucene i generate a searchResult list, in which each searchResult entry contains a (Lucene)Document. These results wil be displayed in a grid. Since i cannot determine beforehand which columns (read fi