[CLOSED] PropertyGrid with property separator

  1. #1

    [CLOSED] PropertyGrid with property separator

    Hello,

    Is possible insert a property separator in propertyGrid control?

    Could you implement it if not? Could be helpful.

    Thanks
    Last edited by Daniil; Feb 24, 2011 at 11:02 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please clarify how should it look? I don't understand what you mean by 'separator'.
  3. #3
    Hello Daniil,

    As a toolbar separator, a line o bar title. Bar title could be a perfect solution as windows form property control.


    thanks
  4. #4
    Hi edigital,

    Can you post a mockup or screen capture of what you're looking for? We're not entirely sure what you're asking for based only upon your description.
    Geoffrey McGill
    Founder
  5. #5
    Hello,

    Attach a sample image, as visual studio show properties. Sorry, my english is little bad.



    Thanks
    Attached Thumbnails Click image for larger version. 

Name:	saaple.png 
Views:	172 
Size:	5.7 KB 
ID:	2324  
  6. #6
    Please clarify do you mean the rows that I circled (red line) at the image below?
    Click image for larger version. 

Name:	Separator.JPG 
Views:	144 
Size:	21.7 KB 
ID:	2330

    I just try to determine how is it related to:
    As a toolbar separator, a line o bar title. Bar title could be a perfect solution as windows form property control.
    Doesn't matter, please just clarify.
  7. #7
    Hi Daniil,

    Yes, its rigth.

    Any idea? is possible implement it?

    Thanks
  8. #8
    We are investigating.
  9. #9
    Hi,

    Please look at the example.

    The key points are:

    1. GetRowClass of GridView
    2. css 'my-class' rules

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.NET Example</title>
    
        <style type="text/css">
            .x-props-grid .x-grid3-body .x-grid3-row.my-class td {
                background-color: Red !important;
                border-right-color: Red;
            }               
            
            .x-props-grid .x-grid3-row.my-class .x-grid3-td-name .x-grid3-cell-inner {
                background-image: none !important;
            }
        </style>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
            
            <ext:PropertyGrid 
                ID="PropertyGrid1" 
                runat="server" 
                Width="300" 
                AutoHeight="true">
                <Source>
                    <ext:PropertyGridParameter Name="(name)" Value="Properties Grid" />
                    <ext:PropertyGridParameter Name="grouping" Value="false" Mode="Raw" />
                    <ext:PropertyGridParameter Name="autoFitColumns" Value="true" Mode="Raw" />
                    <ext:PropertyGridParameter Name="productionQuality" Value="false" Mode="Raw" />
                    <ext:PropertyGridParameter Name="created" Value="10/15/2006">
                        <Editor>
                            <ext:DateField runat="server" />
                        </Editor>
                    </ext:PropertyGridParameter>
                    <ext:PropertyGridParameter Name="tested" Value="false" Mode="Raw" />
                    <ext:PropertyGridParameter Name="version" Value="0.01" />
                    <ext:PropertyGridParameter Name="separator" />
                    <ext:PropertyGridParameter Name="borderWidth" Value="5" Mode="Raw">
                        <Editor>
                            <ext:SpinnerField runat="server" />
                        </Editor>
                    </ext:PropertyGridParameter>
                </Source>
                <View>
                    <ext:GridView runat="server" ForceFit="true" ScrollOffset="2" >
                        <GetRowClass Handler="return record.data.name == 'separator' ? 'my-class' : '';" />
                    </ext:GridView>
                </View>
            </ext:PropertyGrid>
        </form>
    </body>
    </html>
  10. #10
    Here is a related Ext.NET v2 discussion.
    http://forums.ext.net/showthread.php?60238

Similar Threads

  1. [CLOSED] FieldLabel separator globally
    By RCM in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 25, 2012, 6:04 PM
  2. [CLOSED] Group separator property for number field
    By Daly_AF in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 11, 2012, 4:26 PM
  3. [CLOSED] How to allow thousand separator in ext:NumberField?
    By sailendra in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 07, 2012, 10:35 AM
  4. [CLOSED] Property Grid Filter Showing Behind the PropertyGrid
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 21, 2012, 5:12 PM
  5. [CLOSED] Thousands separator
    By rnfigueira in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 19, 2011, 7:07 PM

Tags for this Thread

Posting Permissions