no add new button

Questionsno add new button
Roger asked 3 years ago

Using the free version. I do not have an add new item button.

If i look at the code button uptop it shows
$g->set_actions(array(
"add"=>false, // allow/disallow add
"edit"=>true, // allow/disallow edit
"delete"=>true, // allow/disallow delete
"bulkedit"=>true, // allow/disallow delete
"showhidecolumns"=>true, // allow/disallow delete
"rowactions"=>true, // show/hide row wise edit/del/save option
"autofilter" => true, // show/hide autofilter for search
"search" => "advance"
)
);

Thus i assume its because the add = false. Where in the world do I change this. Ive looked and looked.

thanks

1 Answers
Abu Ghufran answered 3 years ago

Please review your code for this code segment and change it.
You can also check reference code in demos/misc/example-all.php

Your Answer

2 + 13 =

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 / 5. Vote count:

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

Let us improve this post!