on 02-05-2007 8:31 AM
Hi
I want to put link to the one column in the table.
plese let me know the solution for this
regards
mmukesh
Hi Mukesh,
Insert tablecellEditor as linktoaction control for the column.
Assign one action to it and write your code in this action.
do the context binding with column.
Regards,
Satyendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mukesh,
I think you have made the table cell editor of that column as LinkToAction.
You need not assign any of its attributes/properties, but create a method for the event onAction of that Link to Action UI element.
The string you need to display as the link can be assigned as context (string type) to the TEXT property of the LinkToAction.
Hope this helps..
Regards,
Alka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi mukesh,
In the table make the <b>tablecelleditor</b> as <b>linktoaction</b> i mean if the tablecelleditor type is textview then delete it and rightclick on column and select <b>Inserttablecelleditor</b>. It will ask to the type of UI you require. select link to action.
if you go the properties of tablecelleditor(linktoaction) you can see <b>onAction</b>.
you write your code in this onAction.
Regards,
Gopi
Hi
Use this code in ur doInit() method
IPrivateUserView.ITableElement tableElement;
for (int count = 0; count < 5; count++) {
tableElement = wdContext.createTableElement();
tableElement.setLinkToActionText("Give Text here");
wdContext.nodeTable().addElement(
tableElement);
I have my view named as "UserView".
And my table Value node as "Table".
So change the first line accordingly.
Do let me know the ouput
Regards
BP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mukesh,
Please use a UI Element of type LinkToAction for that column
REgards,
Sharadha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi mukesh,
if you are speaking about making one column in the table as link then, make the table cell as linktoAction instead of text view.
if you are speaking about displaying a table when you click a link, then place the table in another view and fire a plug when you click this link.
Regards,
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.