What's new

Welcome to xCrud Community - Data Management and extended PHP CRUD

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Creating non-standard rendering ?

babajace

New member
Joined
Feb 3, 2023
Messages
2
Reaction score
0
Points
1
Location
Malaysia

In the guide there's the function of non-standard rendering which no example / demo on it. Could anyone show some example on the function below?

$this->result_list - array of arrays with full result from database (grid). You can use it to create your own grid rendering.
$this->result_row - array with full result form database (create/edit/view).
$this->fields_output - array with rendered fields, exept hidden and additional fields. Every element contains:
$this->hidden_fields_output - array of rendered hidden fields
 

Bradn

New member
Joined
Apr 24, 2024
Messages
5
Reaction score
0
Points
1
Location
Australia
This worked for me using a custom VIEW form - $xcrud->load_view('view','myform-view.php');
Your custom theme files must be in your default theme folder.
You must reply in thread to view hidden text.
 
Last edited by a moderator:

DaDo

Administrator
Staff member
Joined
Dec 1, 2021
Messages
108
Reaction score
23
Points
18
In additional if you want to see list for example on json :
You must reply in thread to view hidden text.
 
Last edited:
Top Bottom