Hello,
How can I make a customized table detailed view.
Please Can you help.
Best regards,
Chhavi
Customized Table View
Customized Table View
Best regards,
Chhavi Jain
Chhavi Jain
Re: Customized Table View
Hi,
can you please explain a little bit in more detail what you try to acheive.
can you please explain a little bit in more detail what you try to acheive.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: Customized Table View
Hi,
Please find attached the file.
This is my ultimate goal with the table view.
Please let me know what all functionality is possible and how i can achieve it
So 2 things:
a) The customised display of the table fields
b) Whether I can store the notes/ action in a history field along with Date/Time Stamp and PIC.
Please help
Please find attached the file.
This is my ultimate goal with the table view.
Please let me know what all functionality is possible and how i can achieve it
So 2 things:
a) The customised display of the table fields
b) Whether I can store the notes/ action in a history field along with Date/Time Stamp and PIC.
Please help
Best regards,
Chhavi Jain
Chhavi Jain
Re: Customized Table View
Not able to attach the file..
Please refer to the DB link: https://www.dropbox.com/s/xgrw7z8nzw8c3 ... e.pdf?dl=0
Please refer to the DB link: https://www.dropbox.com/s/xgrw7z8nzw8c3 ... e.pdf?dl=0
Best regards,
Chhavi Jain
Chhavi Jain
Re: Customized Table View
Hi,
this can mainly be done.
1, you can split the DV into two columns by adding the following code into the hooks/<tablename>.php -> <tablename>_dv function
Unfortunately you cannot easily set fields one next to the other on a single row.
2, you can use in the hooks/<tablename>.php file the function <tablename>_before_insert and <tablename>_before_update to modify your SQL statement to put you notes into the history field with the date/time stamps. The $data contains the relevant information that you need to update.
Hope that helps
this can mainly be done.
1, you can split the DV into two columns by adding the following code into the hooks/<tablename>.php -> <tablename>_dv function
Code: Select all
if(isset($_REQUEST['dvprint_x'])) return;
ob_start(); ?>
<script>
$j(function(){
$j('fieldset.form-horizontal').removeClass('form-horizontal').addClass('form-inline').css({ 'min-width': 'unset', 'width': 'unset' });
})
</script>
<style>
@media (min-width: 768px){
.form-inline .form-control {
width: 95%; /* !important; */
} /*end new code*/
.form-inline .form-control-static {
width: 100%; /* !important; */
} /*end new code*/
.form-inline .form-group{
width: 48%;
margin-bottom: 0.75em;
vertical-align: top;
}
}
</style>
<?php
$new_layout = ob_get_contents();
ob_end_clean();
$html .= $new_layout;
2, you can use in the hooks/<tablename>.php file the function <tablename>_before_insert and <tablename>_before_update to modify your SQL statement to put you notes into the history field with the date/time stamps. The $data contains the relevant information that you need to update.
Hope that helps
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: Customized Table View
HI
I applied the code you gave to make the 2 column display. But facing an issue
Please can you check this image
is it possible to increase the column size as mentioned?
Please can u add to the code u gave me earlier.
I applied the code you gave to make the 2 column display. But facing an issue
Please can you check this image
is it possible to increase the column size as mentioned?
Please can u add to the code u gave me earlier.
- Attachments
-
- 2 Column issue.png (81.73 KiB) Viewed 5882 times
Best regards,
Chhavi Jain
Chhavi Jain
Re: Customized Table View
Hi,
can you please check in the file dynamic.css (in your root directory of your project) the line (should be around line 50) containing
.form-inline .form-control{ width: auto !important;}
and remove the " !important; " so you have
.form-inline .form-control{ width: auto }
and set the width in the code snipet above to 100%.
That should do the trick.
can you please check in the file dynamic.css (in your root directory of your project) the line (should be around line 50) containing
.form-inline .form-control{ width: auto !important;}
and remove the " !important; " so you have
.form-inline .form-control{ width: auto }
and set the width in the code snipet above to 100%.
That should do the trick.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: Customized Table View
but everytime i rebuild the project, i will need to make this change...
is there any way i can make the changes in the hooks folder??
my project is in development stage and i may have to rebuild it a lot of times.. so please help
is there any way i can make the changes in the hooks folder??
my project is in development stage and i may have to rebuild it a lot of times.. so please help
Best regards,
Chhavi Jain
Chhavi Jain
Re: Customized Table View
The code is added (hopefolly) in the hooks folder. So this should be stable even after rebuild. For the dynamic.css.php, unfortunately you can only remove the tick in the box when creating your project, to not recreate the dynamic.css.php file.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: Customized Table View
ok... noted on that..
now is it possible to create a 2 column table view as well as tab view for the same table..
refering to the above image i posted.. i need the 2 column for all the fields... except I need notes to appear in the next tab... because the area is too small for the notes to come.
it is possible?
now is it possible to create a 2 column table view as well as tab view for the same table..
refering to the above image i posted.. i need the 2 column for all the fields... except I need notes to appear in the next tab... because the area is too small for the notes to come.
it is possible?
Best regards,
Chhavi Jain
Chhavi Jain
Re: Customized Table View
Hi,
yes this is possible,
have a look at
https://forums.appgini.com/phpbb/viewto ... f=7&t=2688
and
https://forums.appgini.com/phpbb/viewto ... f=2&t=2694
yes this is possible,
have a look at
https://forums.appgini.com/phpbb/viewto ... f=7&t=2688
and
https://forums.appgini.com/phpbb/viewto ... f=2&t=2694
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: Customized Table View
I have a question in the Form Tools Demo..
where am i supposed to place the function _mkfield and _mktabbed?
In tablename.php in the hooks folder at the end?
where am i supposed to place the function _mkfield and _mktabbed?
In tablename.php in the hooks folder at the end?
Best regards,
Chhavi Jain
Chhavi Jain