Can you prevent observable from wrapping something?

2 posts, 0 answers
  1. Tyree
    Tyree avatar
    105 posts
    Member since:
    Dec 2006

    Posted 05 Nov 2013 Link to this post

    I am using an ObservableArray, and when I push in an Item object it wraps all the fields, which is fine except one it can't handle and it renders it useless. Can I prevent a field from being wrapped?

  2. Rosen
    Admin
    Rosen avatar
    3253 posts

    Posted 06 Nov 2013 Link to this post

    Hi Tyree,

    The ObservableObject will not wrap all fields which names start with underscore. Therefore, you will need to prefix the object fields which should not be wrapped.

    Regards,
    Rosen
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top