[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
avoid cell selection in read only list  XML
Forum Index -> Development
Author Message
moebus

Power User

Joined: 21/11/2007 12:49:18
Messages: 93
Offline

we have lots of lists that are not editable. When clicking into such a list, the row should be selected (and this works fine), but not the individual cell when it is not an enabled control. The disabled cells currently get a dark background color when clicked, which looks inappropriate.

To make things more complicated for you, we would still like to use a column of type t:formattedfield, to utilize e.g. your date-to-string conversion, we even want to add a t:button column, which has to be clickable of course. So we would like that disabled field columns, or label cells, should not be displayed with the "selected" style, and have this feature switched on and off, because for real "editable" lists it is probably quite useful.

regards
Manfred
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

There are some aspects to discuss in this respect - taking away the coloring would mean that the user does not see anymore where the keyboard focus is.

Setting any component of the grid to FOCUSABLE "false" would mean that no focus is drawn anymore (because no focus is received) and keyboard navigation is not possible.

Maybe we should discuss this by phone in parallel to this post.

Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

OK, conclusion is: we will provide a way to fine-control the focus rendering, so that you can explicitly set "softer" colors for certain usage types. We are working on this, so expect solution short term.

Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

What we provide now is the following:

Code:
 <t:row id="g_2">
 	<t:label id="g_3" text="Default" width="100" />
 	<t:field id="g_4" width="100" />
 </t:row>
 <t:row id="g_5">
 	<t:label id="g_6" text="Example1" width="100" />
 	<t:field id="g_7" bgpaint="focuscolors(#FF000080,#00FF0080)"
 		width="100" />
 </t:row>
 <t:row id="g_8">
 	<t:label id="g_9" text="Example2" width="100" />
 	<t:field id="g_10" bgpaint="focuscolors(#FFFF0080,#FF000080)"
 		width="100" />
 </t:row>
 <t:row id="g_11">
 	<t:label id="g_12" text="Example3" width="100" />
 	<t:combobox id="g_13" bgpaint="focuscolors(#00FFFF80,#FF00FF80)"
 		editable="true" width="100" />
 </t:row>
 <t:row id="g_14">
 	<t:label id="g_15" text="No Coloring" width="100" />
 	<t:field id="g_16" bgpaint="focuscolors(#FFFFFF00,#FFFFFF00)"
 		width="100" />
 </t:row>
 


By adding focuscolors(col1,col2) you can fine-tune the focus background coloring.

Available with next update or on request.

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team