How do I hide the editor?

Thread is closed for posting
2 posts, 0 answers
  1. Henrique
    Henrique avatar
    12 posts
    Member since:
    Mar 2017

    Posted 08 Mar 2017 Link to this post


    I have a price field <number>, and I don't want to allow it to be editable. When I set to readOnly="true", but the editor is still there. How do I hide the editor?


    Thank you! 

  2. Nikolay Tsonev
    Nikolay Tsonev avatar
    340 posts

    Posted 08 Mar 2017 Link to this post

    Thank you for your interest in NativeScript and nativescript-telerik-ui.

    You could hide specific  EntityProperty by using its hidden property. For example:
                    <df:EntityProperty name="username" index="0"  hidden="true"/>
                    <df:EntityProperty name="password" index="1" >
                            <df:PropertyEditor type="Password" />
                    <df:EntityProperty name="email" index="2" >               
                            <df:PropertyEditor type="Email" />
    For further help, you could also review the sample project here.
    Hope this helps

    Telerik by Progress
    Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
Back to Top