Field editor in table view

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: Field editor in table view

Post by landinialejandro » 2021-06-15 15:07

hi!
open the brouwser, then richt click, then open inspect, then click in console tab.
Captura.JPG
Captura.JPG (38.11 KiB) Viewed 3118 times
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

federico
Veteran Member
Posts: 74
Joined: 2020-10-29 14:52

Re: Field editor in table view

Post by federico » 2021-06-20 09:26

Hi Sorry for delay... yes of course.. the web console...

first error
The website requested a subresource from a network that it could only access because of its users' privileged network position. These requests expose non-public devices and servers to the internet, increasing the risk of a cross-site request forgery (CSRF) attack, and/or information leakage. To mitigate these risks, Chrome deprecates requests to non-public subresources when initiated from non-secure contexts, and will start blocking them in Chrome 92 (July 2021). See https://chromestatus.com/feature/5436853517811712 for more details.

second error
DevTools non è riuscito a caricare la mappa di origine: Non è stato possibile caricare i contenuti per "qui c'è l'indirizzo http": codice di stato 404,net::ERR_HTTP_RESPONSE_CODE_FAILURE

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: Field editor in table view

Post by landinialejandro » 2021-06-20 12:20

ciao!
hi! i Leave you a PM, contacto with me.
the first error is strange.
The second is a warning, about the map file is missing.
Send me a picture please from the console to see both error.

thanks!
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

thecomputerchap
Veteran Member
Posts: 47
Joined: 2016-08-28 10:37

Re: Field editor in table view

Post by thecomputerchap » 2022-08-03 15:59

Hi all!

Not sure if this is caused by the newest version of AppGini, but the 'Click to edit' option has suddenly disappeared from all of the empty fields. I can still edit all the fields with existing data in them but I can't add data to new fields.

I even tested it by creating a brand new project and doing a fresh install just in case I had something in my hooks files to break it, and it still doesn't work.

Thanks for your great project btw!

Dazzy.

angus
Veteran Member
Posts: 128
Joined: 2020-05-28 22:27

Re: Field editor in table view

Post by angus » 2023-01-16 15:02

Hi Iandinialejandro this is great I tried it but the records do not save. do you know why that would be? I checked and no errors in console either.
AppGini 22.13

angus
Veteran Member
Posts: 128
Joined: 2020-05-28 22:27

Re: Field editor in table view

Post by angus » 2023-01-16 15:11

Hi quick question, just realised there seems to be no link to the file - tv.edit.php

what should I do with this, does anyone know?
AppGini 22.13

angus
Veteran Member
Posts: 128
Joined: 2020-05-28 22:27

Re: Field editor in table view

Post by angus » 2023-01-16 15:28

Apologies, Iandinialejandro, I see the tv.edit.php is called from the tv.edit.js
AppGini 22.13

angus
Veteran Member
Posts: 128
Joined: 2020-05-28 22:27

Re: Field editor in table view

Post by angus » 2023-01-17 14:17

is anyone able to help me understand why this is not saving the records in the table view edit?
AppGini 22.13

angus
Veteran Member
Posts: 128
Joined: 2020-05-28 22:27

Re: Field editor in table view

Post by angus » 2023-02-16 23:33

Hoping someone sees this and can help. I have tried everything but its not saving any records.
AppGini 22.13

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Field editor in table view

Post by pbottcher » 2023-02-17 18:23

Hi,

maybe you can share a bit more information.

As the call goes to the server (php file) you can check in der browser network tab if you see the call and the response.
Also you can trace the php side to see if your call statement to the mysql side workes.
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.

brudy
Veteran Member
Posts: 38
Joined: 2023-02-04 11:35

Re: Field editor in table view

Post by brudy » 2024-02-17 09:44

Hi Angus,

edit tv.edit.js

Line 27:

change LAT to LTE

Code: Select all

        .editable("LTE/tvedit/tv.edit.php", {

Rudy

brudy
Veteran Member
Posts: 38
Joined: 2023-02-04 11:35

Re: Field editor in table view

Post by brudy » 2024-02-17 09:51

the only problem I encounter is that I can modify all the cells even if they are not specified here. I would have liked to be able to just change my cell description

Code: Select all

$j(function () {
    tv_editlets (AppGini.currentTableName (),['Description']);
});

Post Reply