Hi
I'm using a table widget in one of my windows and was wondering whether it's possible to graphically adjust individual columns' width (i.e. the cursor should change its shape when over a grid line, then the user should be able to drag the gridline to the desired width)? Or do I have to completely roll my own solution? Any pointers or help are highly welcome! Cheers Mike _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
The table widget does not support that, but the "Dataset" widget does --
however, its very different and will require code changes. Mike Bielser wrote: > Hi > I'm using a table widget in one of my windows and was wondering whether it's possible to graphically > adjust individual columns' width (i.e. the cursor should change its shape when over a grid line, > then the user should be able to drag the gridline to the desired width)? Or do I have to completely > roll my own solution? Any pointers or help are highly welcome! > > Cheers > Mike > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Mike
Also, if you want to use the dataset you should use the aragon dataset. It is much more capable. Terry =========================================================== Terry Raymond Crafted Smalltalk 80 Lazywood Ln. Tiverton, RI 02878 (401) 624-4517 [hidden email] <http://www.craftedsmalltalk.com> =========================================================== > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf Of Dennis Smith > Sent: Wednesday, September 17, 2008 7:38 PM > Cc: [hidden email] > Subject: Re: [vwnc] [VW 7.6] TableWidget > > The table widget does not support that, but the "Dataset" widget does -- > however, its very different > and will require code changes. > > Mike Bielser wrote: > > Hi > > I'm using a table widget in one of my windows and was wondering whether it's possible to > graphically > > adjust individual columns' width (i.e. the cursor should change its shape when over a grid line, > > then the user should be able to drag the gridline to the desired width)? Or do I have to completely > > roll my own solution? Any pointers or help are highly welcome! > > > > Cheers > > Mike > > > > _______________________________________________ > > vwnc mailing list > > [hidden email] > > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > > > > -- > Dennis Smith +1 416.798.7948 > Cherniak Software Development Corporation Fax: +1 416.798.0948 > 509-2001 Sheppard Avenue East [hidden email] > Toronto, ON M2J 4Z8 sip:[hidden email] > Canada http://www.CherniakSoftware.com > Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Mike Bielser
Dennis, Terry
thanks for your comments. The reason I'm using table widget (versus dataset) is because according to the description of dataset "... Each object in the list is displayed in its own row, with individual aspects of the object displayed in their own columns." To me at least, this sounds more like geared towards presentation of DB data, whereas I have to display 2D matrix data (in the math/numerical sense) containing integers/floats/doubles/complex. But I'll have a look at the Aragon dataset nevertheless. Thanks again! Mike _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
you should also look at the new Grid widget which is provided with VisualWorks 7.6 as a preview.
HTH Helge -----Ursprüngliche Nachricht----- Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Mike Bielser Gesendet: Donnerstag, 18. September 2008 06:57 An: [hidden email] Betreff: Re: [vwnc] [VW 7.6] TableWidget Dennis, Terry thanks for your comments. The reason I'm using table widget (versus dataset) is because according to the description of dataset "... Each object in the list is displayed in its own row, with individual aspects of the object displayed in their own columns." To me at least, this sounds more like geared towards presentation of DB data, whereas I have to display 2D matrix data (in the math/numerical sense) containing integers/floats/doubles/complex. But I'll have a look at the Aragon dataset nevertheless. Thanks again! Mike _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Helge
thanks for the pointer. I'll have a look at it right away... Mike _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Nowak, Helge
Helge,
did you used it? I tried when released, but aragon seems still quite better. Plan to improve it or it will stay that level forever... I remember James saying that some work will be done on GUI after killing Sames work... And also Widgetry had a table more capable... ciao Giorgio On Thu, Sep 18, 2008 at 9:20 AM, Nowak, Helge <[hidden email]> wrote: you should also look at the new Grid widget which is provided with VisualWorks 7.6 as a preview. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Mike Bielser
I got the Grid widget to work for variable-sized, dynamically created matrices. Very nice, I like
it! Thanks again for the pointer. And since it's preview, it's only gonna get better, hopefully ;) Mike _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by giorgiof
the new Grid is part of the GUI enhancements that James
announced and is a direct result of the Widgetry work
the Aragon widget is great but it is contributed software
and the original author isn't maintaining it anymore
Cheers
Helge Von: giorgio ferraris [mailto:[hidden email]] Gesendet: Donnerstag, 18. September 2008 11:46 An: Nowak, Helge Cc: Mike Bielser; [hidden email] Betreff: Re: [vwnc] [VW 7.6] TableWidget Helge,
did you used it? I tried when released, but aragon seems still quite better. Plan to improve it or it will stay that level forever... I remember James saying that some work will be done on GUI after killing Sames work... And also Widgetry had a table more capable... ciao Giorgio On Thu, Sep 18, 2008 at 9:20 AM, Nowak, Helge <[hidden email]>
wrote: you should also look at the new Grid widget which is provided with VisualWorks 7.6 as a preview. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Nowak, Helge
I also tried the new Grid to replace the Aragon
DataSet, but found it unusable for my requirements.
Worst was that I could not have an icon column (where the
icon depends on the row item).
Maybe Cincom can try to use their own widgets in their own
tools (this time). F.ex. the instvar list in trippy could be a good candidate:
items have an icon and a label (some people like to sort by this). This simple
thing cannot be done with the Grid in its current
state :-(
Also quite annoying is that it uses a 'symolized' string
(#'_row firstName') as item aspect accessor which hides from references and
cannot be refactored (this also conflicts with wave, by the way). In Widgetry
one could use ordinary selectors or blocks.
Also, the Grid lacks quite a few features known from the
Widgetry.Grid: announcements, tree as first column, drag-drop, looks, fixed
column/rows etc.
I will check again the next version in the next release in
a year or so...
cheers (still frustrated with the UI situation of
VW),
Christian
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
HI, Christian
thanks, I had no patience to start a list of things missed, bad or ugly... So I keep my Aragon for now (there is a public maitainer, it seems), but I would like to have a modern, decent grid widget, at least as the old Widgetry, but I suppose we come well after seaside... I don't seen nothing on the Horizon of 7.7 (or am I wrong? I would like to be...) ciao Giorgio On Thu, Sep 18, 2008 at 4:36 PM, Christian Haider <[hidden email]> wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |