I implemented a data provider to provide the body data (BodyDataProvider). From this is derived the
class to provide the column header data (ColHeaderDataProvider). But it seams instead of calling the
methods of class ColHeaderDataProvider the methods from class BodyDataProvider are called.
found my mistake. I have to set the correct providers to the column and row header layer steck. By
mistake I used the BodyDataProvider.
this is correct
IDataProvider dataProvider = new BodyDataProvider();
IDataProvider colHeaderDataProvider = new ColHeaderDataProvider();
IDataProvider rowHeaderDataProvider = new RowHeaderDataProvider();
bodyLayer = new BodyLayerStack(dataProvider);
ColumnHeaderLayerStack columnHeaderLayer = new ColumnHeaderLayerStack(colHeaderDataProvider);
//before dataProvider instead of colHeaderDataProvider
RowHeaderLayerStack rowHeaderLayer = new RowHeaderLayerStack(rowHeaderDataProvider); //before
dataProvider instead of rowHeaderDataProvider
Martin
Martin Jacob wrote, On 15.08.2012 14:06:
> Hi,
>
> I implemented a data provider to provide the body data (BodyDataProvider). From this is derived the
> class to provide the column header data (ColHeaderDataProvider). But it seams instead of calling the
> methods of class ColHeaderDataProvider the methods from class BodyDataProvider are called.
>
> how come his? Or did I miss some thing?
>
> Martin
without seeing the code that leads to your issue it is hard to help. How are your classes look like and how do you attach the data provider to the label stacks?