--- "Sherlock, Ric" <[EMAIL PROTECTED]> wrote:

> > [mailto:[EMAIL PROTECTED] On Behalf Of Oleg Kobchenko
> > --- "Sherlock, Ric" wrote:
> > > I want to create a grid where the user can choose between several 
> > > columns of numbers (expected future price profiles). One immediate 
> > > solution is to transpose the grid and use jsgrid & GRIDROWMODE.  
> > > However it is much easier to compare the number lists as 
> > > columns than as rows.
> > > My questions are as follows:
> > > 0. Which of these options (if any) is more sensible or is there 
> > > another I've missed?
> > >  
> > > 1. How involved/complicated is this likely to be? (IOW am I 
> > > biting of  more than I can chew?!!)
> 
> > 
> > Maybe you just need a row of checkboxes?
> 
> Yes I think I considered that a while back and discarded it because they
> were not radio buttons. But you're right, adding code to ensure only one
> was checked is likely to be simpler than extending GRIDROWMODE!!!
> 
> I take it the answer to question 1. is "more than you think" & "yes!"
> ;)

It's a specific application, so you should be able to
provide event handler to ensure the appropriate behavior
(uniqueness of selection).

A more generic approach is to have a validator:
which on change event will run a validation
script and will reject change if failed.
You can then add uniqueness of the first row
as a validation check.



 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to