on 09-19-2008 9:11 AM
Hi All,
In my application, firstly I have to enter data in the first row. Then I have to make the next row editable and enter data in it and so on.
How to make next row editable ?
Thanks,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Insert a button and in action of it's action add elements to the node bound to Table UI Element.
Like
wdContext.node<TableNode>().addElement(wdContext.create<TableNode>Element());
Regards
LN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a button Add Rows and on action of button write following code....
Say you have bound "tblnode" to table and your view name is tblview then....
IPrivatetblview.Itblenodeelement ele = wdcontext.createtblenodeelement();
wdcontext.nodetblnode.addelement(ele);
Regards
Prajakta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
initially add one row to table in DoInit() method,like this,
IPrivateDialogView.ITargetNode node = wdContext.nodeTarget();
IPrivateDialogView.ITargetElement element = node.createTargetElement();
node.addElement(element );
and when ever the last column of the row of the table is edited ,
define a eventHandler for that column and do the population of next row like
IPrivateDialogView.ITargetNode node = wdContext.nodeTarget();
IPrivateDialogView.ITargetElement element = node.createTargetElement();
node.addElement(element );
hope you got.
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.