| Author |
Problem With Richfaces datatable and datascroller
|
Felix Read
Greenhorn
Joined: Oct 21, 2009
Posts: 3
|
|
I am having problems with a datatable with a datascroller where the datascroller does not
navigate and is stuck in the first column
any idea what can be going on?
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14456
|
|
|
Not without further information, I'm afraid. But the datascroller scrolls rows, not columns.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Felix Read
Greenhorn
Joined: Oct 21, 2009
Posts: 3
|
|
sorry rows,
well let me give you some info
i am making a dynamically editable grid.
everything works but the pagination.
first the situation, y must make a component who is dynamic datagrid where you can the info in a list of objects you recieve
and when you post you call a method with the list of objects as data.
Seeying how it is dinamic grid i decided i need first to know the colums i need.
so i created the following interface
(Excuse the naming but they are translations of the names we are using wich are in spanish).
important in this is that not knowing what T is i use the getValue and setValue methods
to call the getter and setter of the corresponding objects.
now i also need a object that is gona be the reference for a ROW this object is gona
represent one row of the grid, and gona do the coresponding procesing of the diferent aspects of the ROW
once i have that i made my GridBean, i left it abstract cause each individual,
must implement it with a method who is getColumnsInternal witch must return a List of IGridConfColumn<T>
to finish this i made a composite component.
and for last the CPGrid which is no more than a empty container with minimal logic
So here you have all the code, everything works perfect except the datascroller any help?
ps i did my best in the translation, maybe i missed something my bad.
all that i removed from the code is logic conserning the components to show on screen.
|
 |
 |
|
|
subject: Problem With Richfaces datatable and datascroller
|
|
|