main logo
Subject: Re: [dabo-users] Virtual fields for a ds
Author: johnf
Posted: 2007/09/29 00:02:21
 
View Entire Thread
New Search


On Friday 28 September 2007 19:09, Ed Leafe wrote:
> On Sep 28, 2007, at 7:26 PM, johnf wrote:
> > The reason Larry and I went to trouble to use the uiwx was to have
> > a dynamic
> > means to provide data for a column. Is using your new namespace
> > the best
> > way to accomplish our goal? I'm guessing that there must be other
> > ways to do
> > this - other than subclassing the dGridDataTable?
>
> There are many other ways of doing this, none of which require
> subclassing dGridDataTable. It's only because you insisted for some
> reason that using a bizobj method to create the dynamic data set was
> not possible, nor was using the data set's SQL capabilities feasible
> that the thought of putting the dynamic code in the UI became a goal.
>
> A good rule of thumb is that if you constantly find yourself going
> through extreme contortions to get something to work, you're going
> about it the wrong way.
>
> -- Ed Leafe
The only thing I can think in support is the fact that Larry wanted to be able
to dynamicly change the data/cell from lbs to kilos and kilos to lbs
depending on a pull down selection. The only thing I could think of was a
cell render. But that sounded as bad as what Larry ended up with.

At this moment I don't recall why a bizobj wasn't used. But could you explain
how the data set's SQL capabilities might have been used?
--
John Fabiani



 
©2007 johnf
<-- Prior Message New Search Next Message -->