I would like to ask how to refresh Table and Grid components with an updated set of database conditions. Lets say we have a filter form with 'customer name' and we would like to filter and refresh Table or Grid with an other customer name triggered…
I would like to call a php function with parameters after clicking a Button. For example something like the following:
$buttonNew = new Button('Click me');
$buttonNew ->onClick(function (Form $form)
{
$form->model->set('dbUserId',…
I am using agiletoolkit atk4, and I would like to export grid to CSV file, I am using below code how ever i am facing issue below is the detail:
Code:
$grid->menu->addItem(['Export as CSV..', 'icon' => 'add square'], new…
SELECT t1.field1, t1.field2, t1.field3, t2.field4, t2.field5,t2.field6
FROM table1 AS t1 LEFT JOIN table2 AS t2
ON t1.field1 = t2.field1 AND t1.field2 = t2.field2
WHERE t1.fieldstart <='2021-10-13' AND t1.fieldend >= '2021-10-31' OR…
I'm using agile toolkit, a framework that generates javascript code from PHP. I have a div element (I'll call it "top-element") that contains some other div elements, some buttons.
I want to move the "top-element" to another element, to change it's…
I'm testing ATK4 for some scenarios to decide, if I can go with it. One of these Scenarios is a status page for groups and members, which should reload automatically the grids, which contains dynamic group and member informations.
The grid reload…
i want to do a search of range date using quicksearch item, but until now i realize that in the class quicksearch is a line with this code :
$this->search_field=$this->addField('line','q','')->setNoSave();
the only thing i did is to change into…
I just started learning ATK.
In my project, I have a grid of a Model 'A'.
There are many rows for Model 'A'.
I have a separate page for that Model that shows its details.
Now, I want, my grid rows clickable and it should redirect to that page
with…
How do I export a grid to pdf or excel files? I have the next code, buttons of export are shown, but when I click one of those buttons gives me the next error:
Application Error: File not found
Exception_PathFinder, code: 0
Additional…
In a model User I have this field.
$this->addField('login')->mandatory(true)->caption('Login')->length(10);
But when I enter text longer than 10 characters, the validation never occurs, and never shows the red message below the field saying:…
I have a agile File input, im using the model File from addons, at the moment without any extend or modifications.
$f=$this->add('Form');
$modelo = $this->add($this->model);
$f->addField('upload','Upload_test','Upload…
I'm new to Agile Toolkit and I'm trying to make some sort of trigger/log on user auth.
For example, after successful login, I want to execute some query like:
UPDATE `user_login` SET `user_id` = XXX, `login_date` = NOW();
I've searched…
I have built up a page named sign up page for user registration and a login page in Agiletoolkit with mysql. How to check whether the email is existing in Agiletoolkit Framework on the sign up page while registration? I have tried with this…
i am using the atk4 basic auth so when i login here http://subdomain1.DOMAIN.pk/index.html
i see all the details
you are visiting: subdomain1
your site : subdomain2
This is not your site string(23) "abc@gmail.com" You are logged in as…