Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
12403 Zobrazení

I have tried  using "<tree string="Tree" create="false" delete="false">" but because I am allowing users to edit a row when editing it if the user hits enter to save  it creates a blank row (as seen in the screen capture below) that wont actually create a new record in the database but does create confusion for the end user. Is there anyway to avoid a new row being created when hitting enter in a field that is the last row in the tree view. I thought create="false" would fix the problem but it does not.

 

Avatar
Zrušit
Nejlepší odpověď

Mark the 'name' field as required.
So that you can't create a new record without filling it.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
dub 25
4417
5
lis 23
42761
3
zář 23
9339
1
zář 22
3589
3
bře 20
10915