As you say.. you are right when we use a small text like fail in pass. I was trying to be generic that is all. But still when you use a link button it will not replicate the style of the datagrid. It will look different in the DG. But thats my point of view.
As a matter of fact I am using the link in the datagrid. In my case I am using domains and urls. And I tried using it with link button. But since my datagrid was not that big to occupy a bug URL I got scrolls and even some URl didnto appear in the DG. Thats why I shared that with you guys. I dont want you guys to experience the one which I had. On 6/1/07, Harish Sivaramakrishnan <[EMAIL PROTECTED]> wrote:
well , I was following the example which has fail and pass which needs to be hyperlinked. I still feel link button is the best as it is *not* very common to display the url itself as a link in the applicattion On 6/1/07, Hara Jn <[EMAIL PROTECTED]> wrote: > > LInk button wont solve your problem unless if the link is very text is > very small. when you use a domain name or a long URL Text component is the > best. > > > On 6/1/07, Harish Sivaramakrishnan <[EMAIL PROTECTED] > wrote: > > > > it you are going the itemRenderer way, you could use the link button > > to open the link. I personally wont do the rowIndex, colIndex based way > > because it is not intutive to me as to what triggered the opening of URL > > since the click is done on the cell itself. > > > > On 6/1/07, Hara Jn <[EMAIL PROTECTED] > wrote: > > > > > > One way is to use the changeEvent. The other way is to use the > > > itemRender and insert a Txt component in to the cells. The you can play with > > > the text and make it like a actual hyper link > > > > > > On 6/1/07, Ekta Aggarwal <[EMAIL PROTECTED] > wrote: > > > > > > > > Hi, > > > > > > > > I am displaying some data in a datagrid where dataprovider is a > > > > XML file. Now, I have a requirement where I need to provide a hyperlink on > > > > each data cell of the datagrid, so that clicking on the item can take me to > > > > some other page. e.g. > > > > > > > > > > > > ---------------------------------------------------------- > > > > column1 column2 > > > > --------------------------------------------------------- > > > > Fail Pass > > > > Fail Pass > > > > ---------------------------------------------------------- > > > > > > > > Clicking on fail/pass should display the log results. > > > > > > > > Any idea, how to provide the hyperlink? > > > > > > > > Regards, > > > > Ekta > > > > > > > > > > > > Ekta Gupta > > > > > > > > www.geocities.com/aggarwalekta > > > > > > > > ------------------------------ > > > > Take the Internet to Go: Yahoo!Go puts the Internet in your > > > > pocket: > > > > <http://us.rd.yahoo.com/evt=48253/*http://mobile.yahoo.com/go?refer=1GNXIC>mail, > > > > news, photos more. > > > > > > > > > >