<LinearLayout
p1:orientation="horizontal"
p1:layout_height="match_parent"
p1:id="@+id/layoutMainB"
p1:weightSum="@integer/docsBLinearWeightSum"
p1:paddingTop="@dimen/docsBLinearPaddingTop"
p1:layout_width="match_parent">
<GridLayout
p1:id="@+id/layoutItemsB"
style="@style/layoutItemsBStyle"
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="@integer/docsBGridWeightSum">
...Here are Textview and Editext
</<GridLayout>
...I like to load here as sfdatagrid.
I tried to put a framelayout and load it from OnViewCreated (and also i tryied from OnCreateView) but the sfdatagrid appears without header columns and it seems not drawing correctly.
I also tried to add it in linear layout by setting new layoutparams with weight =1 and know the sfdatagrid appears correctly but not in the right position.
What im doing wrong? how can i use a sfdategrid inside fragment?
I forgot to mention tha the specific fragment used in viewpager
</<LinearLayout>