when grid is empty, cannot insert data?

Questionswhen grid is empty, cannot insert data?
Norman asked 10 years ago

Hi,

is this the expected behavior that when grid is empty then we cannot add the data?
cause when i click the '+' it just empty fields… nada

4 Answers
Abu Ghufran answered 10 years ago

No, it should show all editable fields when adding record.
Make sure you set your columns as editable->true.

Norman answered 10 years ago

Hi,

already put the "$g->set_columns($cols,true);".
still blank grid (just 1 field "null" & Actions).
when click (+) show popup window with no fields.

cause i'm select 1 table. and that the table is blank(no records).
but when i fill the data first. it shows runs normally…

is this bug?

FYI : using mssql

thx

Abu Ghufran answered 10 years ago

Just emailed you an update.

Norman answered 10 years ago

Hi,

how about this one? still getting blank insert form if the initial grid have no record data.

thx

Your Answer

5 + 14 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?