I've attached a sample app to illustrate my problem.
We've defined several fields with a width of *. We always want every column visible, hence the * width. We also disable the horizontal scrollbar in the FieldLayoutInitialized event.
We have one editable field (My Note in the sample app). If it has an extremely, obscenely long string value, the text is clipped as you would expect. If you click and drag the field separator, it will expand until it runs out of room based on the columns on the right. This is also as expected.
However, if you double-click the field separator, it expands the field as far as it needs, pushing the right hand columns off the screen. Since we disable the horizontal scroll bar, you're unable to see the righthand columns without expanding the window.
To see this in the sample app, enter a very large string value (just hold down a character key for 10-15 seconds), then double click the Note field separator to make it autosize.
Is there a way to make double clicking the field separator behave the same as clicking and dragging it?
Hello Dierk,
Thank you for your feedback. I believe that other community members may benefit from this as well.
Thanks again.
Hi Stefan,
We've decided to change our approach for now and will keep the horizontal scroll bar rather than hide it. Thanks for the assistance.
I am just checking if you require any assistance or clarification on the matter.
The FixedFieldSplitter is the element which is used when you have fixed Fields. The one used for the resizing is different and currently it is not possible to override its functionality. so I can suggest you log a new product idea for future versions (or vote for existing ones) at http://ideas.infragistics.com.
There are many benefits to submitting an product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thanks for the response. Looks like that's a little too drastic of a change, as that totally disables actions from double-clicking the field separator. I'd prefer to double-click and have the field expand to enough width to take up the size of the containing grid while still leaving the other right-hand columns visible for moving or resizing.
Is there a way to override the double click behavior on the field splitters? Are those the FixedFieldSplitter objects?