Skip to Content
0
Former Member
Jul 16, 2008 at 08:55 AM

Table filter in jsp

31 Views

Hi, all I need to implement a filter in a Tableview that is inside a JSP application.

Anyone knows how to do that?

<hbj:tableView

id="myTableView1"

model= "ServiciosBean.modeloServ"

design = "ALTERNATING"

headerVisible = "true"

footerVisible = "true"

fillUpEmptyRows = "false"

selectionMode = "SINGLESELECT"

navigationMode = "BYPAGE"

onNavigate = "onNavigate"

visibleFirstRow = "<%= ServiciosBean.getVisibleRow()%>"

visibleRowCount = "<%= ServiciosBean.getVisibleRowCount()%>"

width="100%" >

<% myTableView1.setOnRowSelection("onRowSelection");

myTableView1.useRowSelection(

ServiciosBean.getOldTableView());

if ( myTableView1.getColumnCount() > 9 ) {

myTableView1.setColumnName("V. Fin",11);

myTableView1.setColumnInvisible("V.Fin");

myTableView1.setColumnName("V.Inicio",10);

myTableView1.setColumnInvisible("V.Inicio");

}

%>

</hbj:tableView>

Thanks in advance!