Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
520
Set x and y offset for child Grids
posted

I got a Webhierachical DataGrid, everything works fine. In terms of layout, I need to reduce the x and y (the white space above the Header Row) offset of the child grids. My hierachical grid goes 5 grids deep, so by the fifth the entire grid has become very small and stuffed. 

I have not yet found a property with which i can change these offsets, can somebody please point me to them ?

Parents
No Data
Reply
  • 29417
    Offline posted

    Hello henning ,

     

    Thank you for posting in our forum.

     

    The WebHierarchicalDataGrid has a ExpandableAreaCssClass property to which you can set a custom class which will be applied to the expandable area of the child grids.

    You can set for example: 

    ExpandableAreaCssClass="RemovePadding"

    <style type="text/css">

            .RemovePadding

            {

                padding-left: 0px !important;

            }

        </style>

     

    This will overwrite the default setting and there will be no padding for the child grids.

     

    Let me know if you have any questions or concerns.

     

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer II

    Infragistics, Inc.

    http://ko.infragistics.com/support

     

Children