[CLOSED] TableGrid --> TransformGrid. Missing striperows="true" option

  1. #1

    [CLOSED] TableGrid --> TransformGrid. Missing striperows="true" option

    Hi Guys,

    Probably there's another solution. But converting our 1.* application to 3.* I couldn't find the attribute 'striperows' in the TransformGrid.

    How do I achieve the same functionality. Or is CSS the only option ?

    Regards,

    Martin
    Last edited by fabricio.murta; Jul 21, 2017 at 4:06 PM.
  2. #2
    Hello @CarWise!

    Have you tried the same approach that works on an ordinary grid panel with the TransformGrid?..

    Actually trying a transform grid without any settings I get the rows alternating in different colors...

    For Ext.NET 2.x+ you want to set the striperows setting from the grid's view, but I rather had to disable it instead to get the flat format. :)

    If you look at this example: Grid Panel > Miscellaneous > TransformGrid

    You'll notice there's no stripe rows. But if you check the same on Ext.NET 4 EE, it has them.

    Seems that this became an issue for other people from Sencha and they changed the default directly in ExtJS, so that it got the rows striped by default. But forcing striperows in the ViewConfig seems to work fine in 3.x as well... In other words:

    <ext:TransformGrid runat="server" Table="data">
        <ViewConfig runat="server" StripeRows="true" />
    </ext:TransformGrid>
    Is all you would need if the example mentioned above is enough to reproduce your use case scenario. And it would no longer be required (for that goal) in Ext.NET 4.

    I hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hi Fabricio,

    Thanks for that many info for this small problem. I didn't try it yet. Was just looking at the 3.* example code. Your viewconfig solution works fine for me !

    Have a nice weekend !

    Martin
  4. #4
    Hello @CarWise!

    Thanks for your feedback, glad it helped!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 8
    Last Post: Aug 11, 2015, 1:52 PM
  2. Replies: 1
    Last Post: Oct 05, 2012, 11:56 AM
  3. [CLOSED] Hidden="true" behaves as Visible="false"
    By marco.morreale in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: May 28, 2012, 3:17 PM
  4. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  5. [CLOSED] DropDownField with Grow="true" and GrowMax="xxx"
    By deejayns in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jan 12, 2012, 12:00 PM

Tags for this Thread

Posting Permissions