Re: Need help selecting controls for app

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: BBM (bbm_at_bbmcompany.com)
Date: 01/07/05


Date: Fri, 7 Jan 2005 06:25:05 -0800

The values for the parent objects are significant to the user and need to be
at least displayed if the user is editing a lower level. In my example
attributes from Level 1 are shared across a bunch of actual business
entities. Attributes from Level 2 are shared across one of Level 1's child
objects. When editing Level 3, the user doesn't get the whole picture unless
he can see (and preferrably edit) all the levels at once. But the number of
levels and the number of attributes per level can vary, depending on your
starting point (the type of business entity object you are editing).
If I understand your suggestion, the user would only be able to see/edit the
attributes for a particular level.

Thanks for your suggestion.

BBM

"Robby" wrote:

>
> Why not have a TreeView with a DataGrid along side it. When you select a
> Level node the DataGrid can be populated with the attributes of the Level.
> In the DataGrid attributes for the node can be modified, added and deleted.
> Then the user can click a "Save" or "Update" button that will commit the
> changes and update the TreeView.
>
> Have fun
>
> Robby
>
>
> "BBM" <bbm@bbmcompany.com> wrote in message
> news:ECCDAED3-75F1-4C95-B8ED-6CD3578ACC83@microsoft.com...
> >I have an application for which I want to show hierarchically structured
> > data. The data has multiple "levels" (the number of which is previously
> > determined by the user in another part of the app) and each level has
> > "attributes" (the number of which are also previously determined by the
> > user). The tricky part is that depending on what "parent" object is being
> > edited, the number of levels and the number of attributes at each level
> > can
> > vary.
> >
> > I'm really only editing attribute values here. So a display might look
> > like...
> >
> > Level 1
> > Attribute 1 (editable row of values)
> > Attribute 2 (editable row of values)
> > Level 2
> > Attribute 3 ditto
> > Level 3
> > Attribute 4 ditto
> > Attribute 5 ditto
> >
> > I'm not sure how to approach this. The levels are really hierarchical, so
> > I
> > considered a TreeView, but I want to do in-place editing and each
> > "Attribute"
> > actually has several values that can be edited.
> >
> > I also don't think that a single DataGrid will work because of the
> > hierarchical data(Level 2 "belongs" to level 1, Level 3 belongs to 2), and
> > I'm working with objects here, NOT a DataSet anyway.
> >
> > As a final requirement, I don't want to have to scroll to see the
> > attributes
> > within a level. I'd rather have each level completely "expanded" and
> > scroll
> > the whole display to see additional levels if the user can't see the whole
> > thing at one time.
> >
> > My current plan is to use multiple DataGrids, one for each level, and have
> > the app size and place these on the form in code based on the number of
> > Levels and Attributes. I'll size each DataGrid to hold all the attributes
> > for the level, and just stack them in Level order on top of each other on
> > the
> > form. I'm hoping someone can suggest something simpler!
> >
> > Thanks.
> >
> > BBM
> >
>
>
>



Relevant Pages

  • RE: DataGrid Horizontal Scroll Bar problem
    ... why can't you just widen the datagrid, because then there won't be a scroll ... If I have a datagrid that doesn't display all of the columns ... > the horizontal scroll bar to keep the same position as I scroll down ...
    (microsoft.public.dotnet.languages.vb)
  • DataGrid Horizontal Scroll Bar problem
    ... I am currently trying to expand upon the default datagrid control using ... If I have a datagrid that doesn't display all of the columns ... down from the bottom cell being displayed (granted there are more rows ... the horizontal scroll bar to keep the same position as I scroll down ...
    (microsoft.public.dotnet.languages.vb)
  • Re: DataGrid & Horizontal Scroll Bar
    ... Add datagrid value changed scroll event and handle the event by ... Horizontal scroll bar Automatically adjusted to display Description ...
    (microsoft.public.dotnet.framework.compactframework)
  • datagrid formatting
    ... I want to format a datagrid ... I display a datagrid with> 20 columns and it's a ... scroll to the right. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Datagrid does not reflect changes to bound dataset
    ... I am using a datagrid to display a few columns from a dataset and a "detail" ... After the user finishes editing an item with the detail form, ... Peter ...
    (microsoft.public.dotnet.framework.windowsforms.databinding)