Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 8 of 8 total |
TGrid Suggestion |
Tue, Jan 24 2017 11:14 AM | Permanent Link |
Uli Becker | A GridColumn has the property "StretchToFit" which is very helpful. But
this property only refers to the last column. It would be great to be able to stretch one of the other columns, e.g.: ID | Name | Country | ID | Name | Country | Would that be possible? Thanks Uli |
Tue, Jan 24 2017 11:27 AM | Permanent Link |
Matthew Jones | Uli Becker wrote:
> It would be great to be able to stretch one of the other columns It's been suggested before, and not yet possible. I too would love to see it... (Makes me think it would be good to have something where we could up-vote suggestions...) -- Matthew Jones |
Tue, Jan 24 2017 5:03 PM | Permanent Link |
Huseyin Aliz myBiss ApS | +1
Den 24-01-2017 kl. 17:27 skrev Matthew Jones: > Uli Becker wrote: > >> It would be great to be able to stretch one of the other columns > It's been suggested before, and not yet possible. I too would love to see it... (Makes me think it would be good to have something where we could up-vote suggestions...) > |
Wed, Jan 25 2017 1:45 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< A GridColumn has the property "StretchToFit" which is very helpful. But this property only refers to the last column. It would be great to be able to stretch one of the other columns, e.g.: >> Stretch it how ? The reason why it only works for the last column is that it results in the column stretching rightward to fill the available client width in the parent grid. Tim Young Elevate Software www.elevatesoft.com |
Thu, Jan 26 2017 4:31 AM | Permanent Link |
Matthew Jones | Tim Young [Elevate Software] wrote:
> << A GridColumn has the property "StretchToFit" which is very helpful. But this property only refers to the last column. It would be great to be able to stretch one of the other columns, e.g.: >> > > Stretch it how ? The reason why it only works for the last column is that it results in the column stretching rightward to fill the available client width in the parent grid. I think the idea is that the code would work out that there is more space, and then apply it to an inner column, rather than the last. It fits the general idea better, as you typically have a more important thing on the left, and would prefer that to be enlarged if anything. -- Matthew Jones |
Thu, Jan 26 2017 10:41 AM | Permanent Link |
Uli Becker | Tim,
> Stretch it how ? GridColumns are positioned by using the layout functionality, aren't they? So IMHO it could be possible to fill the available space with a column <> the last column. I attached a small sample with panels instead of columns to demonstrate what I mean. Thanks Uli Attachments: StretchToFitSample.zip |
Thu, Jan 26 2017 1:55 PM | Permanent Link |
Uli Becker | Forgot to mention that there is a sizer for each "row" to test the responsive design.
|
Thu, Jan 26 2017 3:04 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Matthew,
<< I think the idea is that the code would work out that there is more space, and then apply it to an inner column, rather than the last. It fits the general idea better, as you typically have a more important thing on the left, and would prefer that to be enlarged if anything. >> I get what you're saying, but that's not really something that the layout functionality in EWB is equipped to deal with. The client area is the client area, and stretching always means "stretch to the edge of the client area", hence that normally excludes there being any other UI elements to the *right* of the stretched element. Furthermore, you're going to get into all sorts of trouble trying to do such a "stretch" operation when you take into account that the grid's scrolling is both generated by, and responsive to, the total width taken up by the columns. Trust me when I say this - I just spent a couple of months fighting this very chicken and egg issue with auto-sizing. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Sunday, December 1, 2024 at 03:59 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |