• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Problem With Richfaces datatable and datascroller

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?
Saloon Keeper
Posts: 22482
Android Eclipse IDE Tomcat Server Redhat Java 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
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.
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic