Yes you're right, I am sure I am making it more complicated than it should be.
The way I had it, was that in my renderer class (which extends
DataGridItemRenderer) depending on the column I would add another (I think it
is termed) dropin renderer , one column was rendered with a link button,
I can understand how Flex could get confused with a renderer inside a renderer
(I'm confused). There is no telling where an event would get dispatched to. It
probably has something to do with scope.
--- In flexcoders@yahoogroups.com, aramsdell2000 aramsdell2...@... wrote:
Yes you're right, I
I thionk you are over thinking this.
All you need to do is extend the class you wish to use as your item
renderer. In the extended class, either add an event listener or
override a handler. In this case, that class is LinkBar. The LinkBar
class has a clickHandler method already so you override
I have put aside the thoughts of making fancy hyperlinks, now I am just trying
to understand events in the itemrenderer. I am ashamed to say that even after
searching this subject in the forum and googling it, I still find myself
struggling.
I ended up trying a LinkBar as Tino suggested
in
--- In flexcoders@yahoogroups.com, aramsdell2000 aramsdell2...@... wrote:
I have put aside the thoughts of making fancy hyperlinks, now I am just
trying to understand events in the itemrenderer. I am ashamed to say that
even after searching this subject in the forum and googling it, I
As far as I know the code is open source but you could add a comment at his
blog (http://www.jabbypanda.com/blog/?p=28).
You will either have to disable the datagrids click event handler on that
specific column or figure out a way to put each link in its own column.
--- In
Oh wow, this looks great! Thank you! This looks like what I want to do, just
curious, how do I cite it if I use it/ modified version of it?? I can add a
link to his website and blog in the code?
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
Here is a quick and dirty
Actually I am not so sure how this will work in a datagrid. One datagrid cell
would have multiple hyperlink buttons. Right now the click event for the
datagrid behaves differently depending on which column you click. In another
column I have one link button per row. But for this one, I would
Here is a quick and dirty example using the hyperlink component from
jabbypanda (http://jabbypanda.com/labs/hyperLink/srcview/index.html):
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute width=700
mx:Script
![CDATA[
Have you looked at the class LinkBar? I think that would be a good way to
return a multiple buttons in a cell of a datagrid.
http://livedocs.adobe.com/flex/3/langref/mx/controls/LinkBar.html
-Tino
On Wed, Jan 13, 2010 at 10:11 AM, aramsdell2000 aramsdell2...@yahoo.comwrote:
OK, that's the
OK, that's the problem. I don't know how to add multiple link buttons through
action script. And here goes my feeble attempt at explaining what I did so that
it makes sense:
This is how I am now populating the column with multiple hyperlinks, using the
itemrenderer approach from Alex's Flex
11 matches
Mail list logo