Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem With Richfaces datatable and datascroller

 
Felix Read
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18276
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not without further information, I'm afraid. But the datascroller scrolls rows, not columns.
 
Felix Read
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic