Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

table keeps saving value from defineAllowableValues #22

Open
videobuff opened this issue Jun 10, 2021 · 0 comments
Open

table keeps saving value from defineAllowableValues #22

videobuff opened this issue Jun 10, 2021 · 0 comments

Comments

@videobuff
Copy link

videobuff commented Jun 10, 2021

I am using your tables and they are rally great, but now i run into an issue i cannot solve
In the picturers you can see structure, value and more of the table.

I have a simple page showing the table values and i like to limit updating the contents of cells (in this case golf scores per hole)
So I use this piece of code

$valid_scores   = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);
$tblDemo->defineAllowableValues("h1", $valid_scores);

If I clck on the h1 cell, i get the option to choose, and then when i click select, the table shows saving, however if i refresh the value is not saved.
I have tried it with int and charvar, but no succes.

Any help is much appreceiated

Erik

Schermafbeelding 2021-06-11 om 00 54 27

Schermafbeelding 2021-06-11 om 00 54 35

Schermafbeelding 2021-06-11 om 00 42 52
Schermafbeelding 2021-06-11 om 00 43 01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant