Search found 28 matches

by alberti47
Sep 19th, '12, 08:15
Forum: ApPHP DataGrid {bugs}
Topic: Fields prefix in UpdateRow
Replies: 18
Views: 2307

Re: Fields prefix in UpdateRow

Glad that finally You recognized the problem I faced. The solution works , but for my opinion to more isolate the problem , should be better if ANY variable used by the grid has to be prefixed by the Grid name, just to avoid for shure any eventual conflict. The Grid name is infact supposed to be use...
by alberti47
Sep 18th, '12, 09:37
Forum: ApPHP DataGrid {bugs}
Topic: Fields prefix in UpdateRow
Replies: 18
Views: 2307

Re: Fields prefix in UpdateRow

May be You want take a look to Your example , slighty modified ... Insert 'S' in textbox , submit the first form Then when grid appears make 1 rec modification an try to update. Pls consider that in the real application where I would like to insert Your grid (if possible...) before to call the grid ...
by alberti47
Sep 18th, '12, 07:16
Forum: ApPHP DataGrid {bugs}
Topic: Fields prefix in UpdateRow
Replies: 18
Views: 2307

Re: Fields prefix in UpdateRow

Again: (1) Unfortunnaly I dont have a public access You can use to test. (2) Can You imagine a page with 2 form tag. (the first one is the old application, the second one is the grid). (3) The page is loaded and during loading , before to pass the control to the grid, do you agree with me that many ...
by alberti47
Sep 17th, '12, 09:54
Forum: ApPHP DataGrid {bugs}
Topic: Fields prefix in UpdateRow
Replies: 18
Views: 2307

Re: Fields prefix in UpdateRow

Thanks for answer. I know the trick for the columns handled by datagrid ! But perhaps (due to my engligh ?) was not clear to You the subject of my discussion. I was intended that if you want to use the grid INSIDE a page that already exists and that already has some fields in $_POST , the grid is UN...
by alberti47
Sep 16th, '12, 11:13
Forum: ApPHP DataGrid {bugs}
Topic: Fields prefix in UpdateRow
Replies: 18
Views: 2307

Re: Fields prefix in UpdateRow

I gave You the way to test what happen in my previous post.
Is is just a line of code to try.
Thanks
Regards
by alberti47
Sep 14th, '12, 08:14
Forum: ApPHP DataGrid {bugs}
Topic: Fields prefix in UpdateRow
Replies: 18
Views: 2307

Re: Fields prefix in UpdateRow

Just to clarify my assertion :

I state that this problem prevent to me to use DataGrid inserted in an existing PAGE
(grid has its own form)
, where other fields are posted different from fields handled by datagrid.

Regards
by alberti47
Sep 13th, '12, 09:37
Forum: Field type: "foreign key"
Topic: Display Foreign Key and Related data
Replies: 6
Views: 1502

Re: Display Foreign Key and Related data

No. Thanks anyway.
by alberti47
Sep 13th, '12, 09:32
Forum: ApPHP DataGrid {bugs}
Topic: Fields prefix in UpdateRow
Replies: 18
Views: 2307

Re: Fields prefix in UpdateRow

As last resort , since is not possibile to me to send to you the complete application, tryng to explain the problem do the following simple test : <title>ApPHP DataGrid :: Sample #1-2 (code)</title> </head> <body style="padding:10px"> <?php $_POST['_focus']=true; in YOUR examples file as Y...
by alberti47
Sep 12th, '12, 10:31
Forum: Field type: "foreign key"
Topic: Display Foreign Key and Related data
Replies: 6
Views: 1502

Re: Display Foreign Key and Related data

Not exactly what I need. At least the is a way to get (for foreign_keys type 'label' only) an output like : 31 - Description of 31 where 31 is the value of the field key , and 'Desription' is the value of the foreign got from the foreign table. For the foreign keys type label what is outputted is a ...
by alberti47
Sep 12th, '12, 10:23
Forum: ApPHP DataGrid {bugs}
Topic: Fields prefix in UpdateRow
Replies: 18
Views: 2307

Re: Fields prefix in UpdateRow

Pls note that as stated in the document, I'm using latest 7.5.9 just downloaded from the site. ALSO: the problem is INDEPENDENT from wich prefix You use for the grid: It is related to the fact the during UpdateRow You scan the $_POST, but You are unable to retrieve the proper fields needed for updat...

Go to advanced search