cancel
Showing results for 
Search instead for 
Did you mean: 

Problem related to a column in a table?

Former Member
0 Kudos

Hi All,

I have a table and two webservices.On the basis of certain search criteria,the table will get populatedwith data.

In the search screen i am passing values to both the webservices. Then in return my table is getting populated with data from both the webservices.

For this sake I have created a value node with value attribites according to the number of fields required for the table.

I have one column as a requirement as a link.I am binding this value node to the table and then the table is ready for the data incoming.

But the column LINK is not related to any webservices.

The LINK has the record "click to view".

The text click to view should be disabled for the row or the data coming from one webservice and should be enabled for the other.

While binding the table with the value node , I am setting the editor as linkToURL and binding property as enabled.

Then in the program I am setting it false for one for loop which is responsible for one webservice and otherwise for the other.

Kindly help me .Looking forward to you.

Regards

DK

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Please don't post the same question in different threads.

Armin

Former Member
0 Kudos

Hi

What problem you are facing?

Kind Regards

Mukesh.

Former Member
0 Kudos

Hi,

The table when getting displayed , the LINK column is comming as disabled only.

So tell me how to resolve the issue or how to approach for a new one.

Former Member
0 Kudos

Hi

Do you assign the enable property for the perticular cell.

can you send the code?

Kind Regards

Mukesh

Former Member
0 Kudos

Hi,

for(int i=0 ; i< this.wdContext.nodeA().size() ; i++){

IPrivateSearch_View.IInfoElement ele = wdContext.nodeInfo().createInfoElement();

ele.setAmou(wdContext.nodeA().getAElementAt(i).getAMO());

ele.setCurr(wdContext.nodeA().getAElementAt(i).getCUR());

ele.setLink("Click to view");

}//This is for One Webservice.

//Like wise i do for the other webservice and the looping is done according to the other webservice struturesize.

// Link is a local attribute as mentoned before of type string.

Former Member
0 Kudos

See my reply in the other thread.

Armin

Former Member
0 Kudos

Hi,

Create the Enable property with the Table Node

Try This

IPrivateSearch_View.IInfoNode node=wdContext.nodeInfo();

for(int i=0 ; i< this.wdContext.nodeA().size() ; i++){

IPrivateSearch_View.IInfoElement ele = wdContext.nodeInfo().createInfoElement();

ele.setAmou(wdContext.nodeA().getAElementAt(i).getAMO());

ele.setCurr(wdContext.nodeA().getAElementAt(i).getCUR());

IPrivateSearch_View.IInfoElement newele = node.getElementAt(i);

ele.setLink("Click to view");

if(check){

newele.setEnabled(true);

}else{

newele.setEnabled(false);

}

}

Kind Regards

Mukesh