on 11-12-2007 5:14 AM
Hi
I am developing application and in that we need to create tables dynamically and back button designtime.
i am creating Back button design time and createing the table dynically at runtime accourding to the no of rows in the table.
i have a left view and right view.
i have a button in the life view and to view the resuls in the right view.
first time i am getting resutls sucessfully.
next time on words its not comming .
is it possible to display the design time and runtime compoents in the same view.
thanks
mmukesh
Hi
It is possible in a single view.
Create 2 transparent containers in the view.design time.
In the 2nd transparent container, create button..dewsign time (2nd or 1st as u require)
then in coding..wdDoModifyView()
IWDTransparentContainer root = (IWDTransparentContainer)view.getRootElement();//get the Root container
IWDTransparentContainer tabContainer = (IWDTransparentContainer)root.getChild(0);// 1st transparentcontainer where you have to add table dynamically.. add table node dynamically to this obj.."tabContainer"
IWDTransparentContainer buttonContainer=(IWDTransparentContainer)root.getChild(1);//2nd trnasparent container where u have already added ur button in design time
Now write the coding to add tbles dynamically to "tabContainer"
regards
Smitha
thanks
smitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
26 | |
10 | |
10 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.