flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pkumar.flex" <prashaku...@gmail.com>
Subject Re: How to avoid sorting on click of headerrenderer?
Date Wed, 10 Dec 2014 09:31:41 GMT
Do not use stop propagation in headerrenderer. Stop in parent or custom
component.
On Dec 10, 2014 3:02 PM, "Deepak MS [via Apache Flex Users]" <
ml-node+s2333346n9055h90@n4.nabble.com> wrote:

> Hey guys,
> I have a Datagrid with first column being a custom itemrenderer with a
> check box, a box(to display color) and then a label.
>
> I am using headererRenderer too for that column, but with a check box and
> a
> button. The header's check box is used to check\uncheck all items in the
> datagrid.
>
> When I click on headererenderer's button or checkbox, the data is getting
> sorted in the grid. I don't want to do sort when I click on any item in
> headerenderer, I want to sort it only when user clicks on header apart
> from
> that button and checkbox.
>
> I tried to stop event propogation, but always header release event is
> triggered first than headerrenderer's button or check box click. So stop
> propagation wont work.
>
> Is there anyway to avoid sorting on click of headerrenderer item? I'm
> using
> Flex 3.6.
>
> Cheers!
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.2333346.n4.nabble.com/How-to-avoid-sorting-on-click-of-headerrenderer-tp9055.html
>  To unsubscribe from Apache Flex Users, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/How-to-avoid-sorting-on-click-of-headerrenderer-tp9055p9057.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message