Visible question

2 posts, 1 answers
  1. Steve
    Steve avatar
    1887 posts
    Member since:
    Dec 2008

    Posted 27 Jul 2012 Link to this post

    If we have a table, and the rows (tr) are each are bound to a function off of "visible" do you handle that in the function itself

    The TR looks like this

    <tr data-mf="3" data-bind="visible: isSelectedMF"> in that function is there any way to get that "3" from the data-mf element?
  2. Answer
    Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 01 Aug 2012 Link to this post

    Hello Steve,

    Currently there is no way to get the target element inside the method itself. I've managed to implement a workaround by creating a custom visible binder though. If you are interested you can check it here: 

    Kind regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top