+ Start a Discussion
bella01bella01 

DataTable column's content into new window

Hi

 

I am trying do display the content of a particular column of a dataTable into a new window. When user clicks on a particular link in a column, then that column content has to gets populated into the new window itself. 

If anybody has any idea about it plz share.

 

Thanks

Bella

EIE50EIE50

Hi there,

 

You could use the following keyword, "TARGET" in your command link component. this opens the link in new window.

 

 

    <apex:column >
      <apex:facet name="header">Name</apex:facet> 
      <apex:commandLink target="_blank">{!c.name}   
      </apex:commandLink> 
    </apex:column>

 

 

Thanks.