I am trying to add footer to the celltable and finding hard time to change the celltable footer dynamically but i am able to add while creating columns like below
cellTable.addColumn(qty, "Qty",Integer.toString(totalQty));
This is not i am looking for,Is there any way to set footer to cell table dynamically.Any help?
You need to implement a custom Header and add it to the column which should contain that footer. For example:
Then add it to the column:
When you need to update the footer you just call
quantityFooter.setQuantity(10)and you probably need to redraw the headers/footers withredrawHeader()andredrawFooters()