This is a migrated thread and some comments may be shown as answers.

Port of Adobe Flex Grid

4 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alexey
Top achievements
Rank 2
Alexey asked on 09 Apr 2010, 05:07 PM
Hi guys,

Silverlight Grid really sucks. It works well when we have few columns and rows, but when we have got for example 1 dataform with 8 rows and 3 columns rowdefenitions and columndefenition approach become very hard to manage. And it becomes unusable if we need to add rows dynamically.

Haven't you tried to implement something like Adobe Flex Grid.

Adobe Way:

    <mx:Grid id="myGrid">

        <!-- Define Row 1. -->
        <mx:GridRow id="row1">
            <!-- Define the first cell of Row 1. -->
            <mx:GridItem>
                <mx:Button label="Button 1"/>
            </mx:GridItem>
            <!-- Define the second cell of Row 1. -->
            <mx:GridItem>
                <mx:Button label="2"/>
            </mx:GridItem>
            <!-- Define the third cell of Row 1. -->
            <mx:GridItem>
                <mx:Button label="Button 3"/>
            </mx:GridItem>
        </mx:GridRow>

        <!-- Define Row 2. -->
        <mx:GridRow id="row2">
            <!-- Define a single cell to span three columns of Row 2. -->
            <mx:GridItem colSpan="3" horizontalAlign="center">
                <mx:Button label="Long-Named Button 4"/>
            </mx:GridItem>
        </mx:GridRow>

        <!-- Define Row 3. -->
        <mx:GridRow id="row3">
            <!-- Define an empty first cell of Row 3. -->
            <mx:GridItem/>
            <!-- Define a cell to span columns 2 and 3 of Row 3. -->
            <mx:GridItem colSpan="2" horizontalAlign="center">
                <mx:Button label="Button 5"/>
            </mx:GridItem>
        </mx:GridRow>

    </mx:Grid>

Best regards,
Alexey Zakharov


4 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 10 Apr 2010, 07:26 AM
Hello Alexey,

We haven't. We'll think about it. Thank you for the great suggestion.

Sincerely yours,
Ross
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Alexey
Top achievements
Rank 2
answered on 06 May 2010, 04:24 PM
I've posted a voting about this feature on Silverlight user voice site: http://dotnet.uservoice.com/forums/4325-silverlight-feature-suggestions/suggestions/666521-add-analog-of-adobe-flex-grid-layout-like-html-ta. It seems that a lot of people also interested in it.

Also I've received a lot of feedback when posted a blog post about this issue: http://weblogs.asp.net/alexeyzakharov/archive/2010/04/20/alternative-grid-layout-for-silverlight-suggestion.aspx

Currently Grid layout is real headache for SL developers. If there would be such grid it would be very easy to implement light data grid and dataforms based on it.

0
Matt Snyder
Top achievements
Rank 1
answered on 18 Jun 2010, 04:12 PM
I agree with Alexey on the "suckiness" of the grid.  It's a real surprise to me how buggy this control is, given my past good experiences with Telerik controls.  We are on Silverlight 3, and may have some issues going to Silverlight 4 any time soon due to organizational constraints, and unfortunately it looks like Telerik is bailing on 3.0 support faster than a passenger on the Titanic. :-)  We just upgraded to Q1 2010 SP1 and it did fix ALOT of the grid issues, but we'll still get sporadic issues of the scroll bar not scrolling.  The case where we normally see this is when we have a grid within a grid and the parent row is expanded out to see the child grid.  The grid's scroll bar basically goes haywire... you can't use the mouse wheel, you can't scroll by grabbing the scroll bar or clicking above or below it... it's completely unusable when it gets to that state.  The grid is a major component of our app, and we need something that we can rely upon.  Right now the Telerik Silverlight Grid is not something that I can comfortably recommend to my customer that we continue to use.  I hope Telerik resolves these issues prior to completely deprecating the 3.0 controls at the end of this year, since we have invested in these controls already.
0
Vlad
Telerik team
answered on 21 Jun 2010, 06:09 AM
Hello,

 Can you point us to some of our examples where we can reproduce this?

Sincerely yours,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Alexey
Top achievements
Rank 2
Answers by
Rossen Hristov
Telerik team
Alexey
Top achievements
Rank 2
Matt Snyder
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or