Simplica

ProductsLearnPurchaseSupportDemoDownload
  [Search] Search   [Recent Topics] Recent Topics  
ListDataModel Listener doesn't get updated.
Forum Index -> DataTable
Author Message
ikrahne


Joined: 03/06/2008 08:36:25
Messages: 20
Offline

We discovered a problem while switching to ECruiser DataTable :

We habe a Listener hooked up on a ListDataModel. While rendering, we need to know the current rendered row.



The ECruiser component always returns the number of elements in the ListDatatModel, and not the current rendered position. Is there a quick-fix ...
ikrahne


Joined: 03/06/2008 08:36:25
Messages: 20
Offline

Hi,

the problem seems to be in the WrappedDataModel class.

If it wrappes an existing DataModel, it doesn't delegate the setRowIndex Method to the underlying model.

Here's a patch, that worked for me:

 
Forum Index -> DataTable
Go to:   
Powered by JForum 2.1.7 © JForum Team
Home   |  News   |  Contact   |  About   |  License   |  Privacy   |  Documentation
Copyright © 2009 Simplica Corporation. All rights reserved.