Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
12426 Lượt xem

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.

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 25
4431
5
thg 11 23
42773
3
thg 9 23
9347
1
thg 9 22
3601
3
thg 3 20
10923