This is a migrated thread and some comments may be shown as answers.

"Click here to add new row" not always visible

3 Answers 271 Views
GridView
This is a migrated thread and some comments may be shown as answers.
simon
Top achievements
Rank 1
simon asked on 08 Jan 2015, 10:53 AM
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

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 08 Jan 2015, 04:32 PM
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.

 
0
simon
Top achievements
Rank 1
answered on 09 Jan 2015, 09:04 AM
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



0
Stefan
Telerik team
answered on 09 Jan 2015, 05:22 PM
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.

 
Tags
GridView
Asked by
simon
Top achievements
Rank 1
Answers by
Stefan
Telerik team
simon
Top achievements
Rank 1
Share this question
or