Skip to Content
Former Member
Feb 12, 2007 at 11:28 AM

Event handling timing



I've 1 main component and i sub component. The sub component contains a table. I use the sub component twice in the main component. The amount of visible rows have to be different for the 2 usages though. The way i figured, i created a method on the interface controller which enables you to set the amount of visible rows. In this method, the interface controller fires an event to which the view listens. The view gets the table and does the setAmount of visible problem.

The only things is that i want this to happen right when the component is shown so i put the setAmountOfVisbleRows() in the wdInit. It looks like the event is fired correctly and the set on the table is done but the view isnt updated. When i put it in the wdDoModifyView and i trigger this one, it works..... Can anyone enlighten me why my view isnt updated and how to fix this?

Much thanks,