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
100
Hierarchical grid sorting problem
posted

Hi,

I am using hierarchical grid to display the data.

I have enabled sorting on one of the grid in the hierarchical grid.

But when I click a column for sorting the data disappears. May I know what is the problem?

Is there any specific attribute to be set?

 

Please find the code below:

 <ig:tabView id=

"eventDetailsTab"

tabItemSelectedStyleClass

 

="activeTab"

 

 

tabItemStyleClass

 

="inactiveTab"

 

 

tabItemHoverStyleClass

 

="hoverTab"

 

 

style

 

="background-color:white;">

 

 

<ig:tabItem id="positionsTab" selected="true" value="Positions">

 

< ig:gridView  binding="#{eventDetailsController.entityBalanceListGrid}"

 

 

 

dataSource="#{eventDetailsController.guiProcessingState.event.entityList}"

 

 

 pageSize="5" id="positionList1">

 

 

 

 

<ig:column>

 

 

<f:facet name="masterDetail">

 

 

<h:panelGrid id="panelGrid1" columns="1" cellspacing="30%">

 

 

<h:panelGroup id="panelGroup1">

 

 

<ig:gridView dataSource="#{DATA_ROW.longAccounts}"

 

 

id="webDataGrid1" movableColumns="true">

 

 

 

 

<ig:column id="grid1_col1">

 

 

 

<f:facet name="header">

 

 

<h:outputText id="grid1_head1" value="Account" />

 

 

</f:facet>

 

 

<h:outputText id="grid1_val1"

 

 

title="#{DATA_ROW.description}"

 

 

value="#{DATA_ROW.accountNumber}" />

 

 

 

 

</ig:column>

 

 

 

<ig:column id="grid1_col2">

 

 

<f:facet name="header">

 

 

<h:outputText id="grid1_head2" value="Status" />

 

 

</f:facet>

 

 

<h:outputText id="grid1_val2" value="#{DATA_ROW.status}" />

 

 

</ig:column>

 

</ig:gridView>

 

 

</h:panelGroup>

 

 

 

</h:panelGrid>

 

 

 

</f:facet>

 

 

</ig:column>

 

 

</ig:tabItem>

 

 

 

<ig:tabView>