We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

sfdatagrid in fragment

I have a fragment axml like this
p1:orientation="horizontal"
p1:layout_height="match_parent"
p1:id="@+id/layoutMainB"
p1:weightSum="2"
p1:paddingTop="@dimen/docsBLinearPaddingTop"
p1:layout_width="match_parent">
p1:id="@+id/layoutItemsB"
p1:layout_width="0dp"
p1:layout_height="wrap_content"
p1:columnCount="4"
p1:orientation="horizontal"
p1:useDefaultMargins="false"
p1:layout_marginRight="@dimen/docsBGridMargin"
p1:layout_marginLeft="@dimen/docsBGridMargin"
p1:layout_weight="1">
..... Here has TextView and EditText widgets
Thank you!

1 Reply

AN Ashok N Syncfusion Team September 23, 2016 12:18 PM UTC

Hi Manos,   
   
Thanks for contacting Syncfusion Support.   
   
We have checked your query and we were unable to reproduce issue. SfDataGrid have column header when we load SfDataGrid in framelayout and also SfDataGrid is layout in correct position when we set the LinearLayout.Weight = 1.  We have attached our tested sample in the sample link, please modify the same based on your requirement as it would be more helpful for us to proceed further.       
   
   
Regards,   
Ashok   


Loader.
Live Chat Icon For mobile
Up arrow icon