"Click here to add new row" not always visible

4 posts, 0 answers
  1. simon
    simon avatar
    3 posts
    Member since:
    Jan 2015

    Posted 08 Jan 2015 Link to this post

    Hi,

    It seems if I use the RadGridView, 
    the option "click here to add new row" is only visible after I edited the first row.
    If i use 'tab' to navigate through the cells i eventually enter a new second row.
    But at that moment the option "click here to add new row" is not available anymore.
    Is it possible to make that option ALWAYS available and make it not dissapear when i enter a new row by 'tabbing'

    thanks,
    simon
  2. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 08 Jan 2015 Link to this post

    Hello Simon,

    In order to be able to add new rows through the "Click here to add new item" placeholder in RadGridView, you must enable the NewRowPosition property. Please find attached a sample project  I set up for you.

    Let me know how it works for you.

    Best Regards,
    Stefan
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. simon
    simon avatar
    3 posts
    Member since:
    Jan 2015

    Posted 09 Jan 2015 in reply to Stefan Link to this post

    Hi,

    I know you can set the NewRowPosition property but the problem is: it works only after the first row.

    if i click on that option a second row appears -> this is ok

    now i see 2 rows but  the "Click here to add new item" placeholder is not visible anymore, now i can only add a third row by tabbing through the second row. Adding a new row should only be possible by the "Click here to add new item" placeholder



  4. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 09 Jan 2015 Link to this post

    Hi Simon,

    If you want to keep the "Click here to add new item" placeholder visible, you must add new items by pressing the Enter key. If you add an item by tabbing through the row cells, the placeholder will disappear, but even then when you press Enter for adding a new item, the placeholder will appear again.

    Best Regards,
    Stefan
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top