jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • desterly
    Member

    What I am attempting to do is isolate the actual clicked item on the loop due to the fact that it’s triggered for the parent items.

    For example if i have:
    A
    ..B
    ..C
    ….D

    and the user clicks on “C”, the event is fired for C,D,A,C,D.

    In my checkChange event I only want to update the database for the “C” element and not for the other items that are called. Currently I don’t see a way to isolate from the passed event only the clicked (C) element.


    desterly
    Member

    Along the lines with this.

    Is it possible to identify the actual item that is clicked in the event -vs- the parent/child options that are being clicked?

    In my event I’m attempting to update a database that stores what items are actually checked but want the display to be in the threestates.

    The issue is w/ the event is fired for the parent elements, event.args.checked is returning true for them all instead of an ‘intermediate’ for the parent items resulting in additional items being flagged in my database.

Viewing 2 posts - 1 through 2 (of 2 total)