Re: [Inmethod-grid] column resize event?

2008-04-30 Thread ChuckDeal

Thanks, that's the right idea, but how can I use that to affect the client? 
It does not receive the target object from the event.  Also, it would be
nice if it included which columns changed.  

Or better yet, add a onColumnChanged method to AbstractColumn and then have
SubmitColumnStateBehavior call that method for each changed column (passing
a target object so that the client can be altered as a result of the
change).

Chuck


martin-g wrote:
> 
> see com.inmethod.grid.common.AbstractGrid.onColumnStateChanged()
> 
> On Tue, 2008-04-29 at 12:24 -0700, ChuckDeal wrote:
>> Would it be possible to get a column resize event added?
>> 
>> I am attempting to use a Dojo Combobox as the editable cell content.  The
>> grid has a css style defined for edited cells that forces the combobox
>> text
>> element to 100% of the column width.  That has a cool effect when
>> editting,
>> but has the side effect of forcing the dropdown's button outside the
>> viewport for the column.  I was hoping to hook onto the column resize
>> event
>> to execute a javascript function that would intelligently resize the
>> combobox according to the size of the column.  
>> 
>> Using percentages for the combobox width works, but at small and large
>> column sizes, you can see the imperfection in that method.
>> 
>> Is there another (non css expression) strategy I could use to apply a
>> formula to the width attribute of the input element?
>> 
>> Chuck
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Inmethod-grid--column-resize-event--tp16968211p16980669.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Inmethod-grid] column resize event?

2008-04-29 Thread Martin Grigorov
see com.inmethod.grid.common.AbstractGrid.onColumnStateChanged()

On Tue, 2008-04-29 at 12:24 -0700, ChuckDeal wrote:
> Would it be possible to get a column resize event added?
> 
> I am attempting to use a Dojo Combobox as the editable cell content.  The
> grid has a css style defined for edited cells that forces the combobox text
> element to 100% of the column width.  That has a cool effect when editting,
> but has the side effect of forcing the dropdown's button outside the
> viewport for the column.  I was hoping to hook onto the column resize event
> to execute a javascript function that would intelligently resize the
> combobox according to the size of the column.  
> 
> Using percentages for the combobox width works, but at small and large
> column sizes, you can see the imperfection in that method.
> 
> Is there another (non css expression) strategy I could use to apply a
> formula to the width attribute of the input element?
> 
> Chuck


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Inmethod-grid] column resize event?

2008-04-29 Thread ChuckDeal

Would it be possible to get a column resize event added?

I am attempting to use a Dojo Combobox as the editable cell content.  The
grid has a css style defined for edited cells that forces the combobox text
element to 100% of the column width.  That has a cool effect when editting,
but has the side effect of forcing the dropdown's button outside the
viewport for the column.  I was hoping to hook onto the column resize event
to execute a javascript function that would intelligently resize the
combobox according to the size of the column.  

Using percentages for the combobox width works, but at small and large
column sizes, you can see the imperfection in that method.

Is there another (non css expression) strategy I could use to apply a
formula to the width attribute of the input element?

Chuck
-- 
View this message in context: 
http://www.nabble.com/-Inmethod-grid--column-resize-event--tp16968211p16968211.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]