Search found 27 matches

by kuppers
Aug 3rd, '12, 19:42
Forum: ApPHP DataGrid
Topic: Check exist before delete
Replies: 8
Views: 1183

Re: Check exist before delete

$_REQUEST['f_mode'] = 'view';
is working for me.

Thanks for your help.
by kuppers
Jul 31st, '12, 19:53
Forum: ApPHP DataGrid
Topic: Check exist before delete
Replies: 8
Views: 1183

Re: Check exist before delete

After the control message I want to cancel the delete. How do I use the before delete action? I use now this code but after the message the record is deleted anyway. <?php $mode = (isset($_REQUEST['f_mode'])) ? $_REQUEST['f_mode'] : ""; $rid = (isset($_REQUEST['f_rid'])) ? $_REQUEST['f_rid...
by kuppers
Jul 30th, '12, 09:05
Forum: ApPHP DataGrid
Topic: Check exist before delete
Replies: 8
Views: 1183

Re: Check exist before delete

A user wants to delete a record from a datagrid by clicking on the icon with the red cross.
After he confirms that the record must be deleted I want to check if the record is not used in a other table.
If record is used in the other table it must not be deleted and the user must get a message.
by kuppers
Jul 29th, '12, 15:05
Forum: ApPHP DataGrid
Topic: Check exist before delete
Replies: 8
Views: 1183

Re: Check exist before delete

Thanks, and how can I cancel the delete action if the parent exist?
by kuppers
Jul 26th, '12, 20:41
Forum: ApPHP DataGrid
Topic: Check exist before delete
Replies: 8
Views: 1183

Check exist before delete

How can I check if a item in a parent table is used in child table before I delete the parent record?
I use mqsql with myisam.
by kuppers
Jun 4th, '12, 19:33
Forum: ApPHP DataGrid
Topic: Resend page error
Replies: 5
Views: 1487

Re: Resend page error

Working with a cookie is working fine, why should I change it?
by kuppers
Jun 3rd, '12, 19:11
Forum: ApPHP DataGrid
Topic: Resend page error
Replies: 5
Views: 1487

Re: Resend page error

That did not help, same message as before.
I am now refreshing the page with javascript command: "window.location=window.location;"
after someting have changed in the datagrid.

This make lose your session variable but I am storing that now in a cookie.
by kuppers
May 20th, '12, 15:02
Forum: ApPHP DataGrid
Topic: Resend page error
Replies: 5
Views: 1487

Resend page error

I have a page with on the upperside two dropdowns and a button to add a chosen product to a mysql table. On the bottom half of the screen is a datagrid with the added products in that table. After I have made a change in the datagrid and try to add a new product in the upper half of the screen I get...
by kuppers
Feb 12th, '12, 14:54
Forum: ApPHP DataGrid
Topic: Onchange filter
Replies: 3
Views: 987

Re: Onchange filter

I am still looking for a way to change the filter after I have made a selection with the calendar or changed the filtered date field by typing without clicking the Search button. I found out that when I use the on_js_event from the filtered date field, the simulation of the reset button is working :...
by kuppers
Jan 3rd, '12, 19:59
Forum: ApPHP DataGrid
Topic: Decimal seperator decimal field
Replies: 7
Views: 1111

Re: Decimal seperator decimal field

Sorry but that did not help. I also added "dec_separator"=>",", "thousands_separator"=>"." for that field but thats also did not help. When I look in the datagrid.class.php file only the Money and percent field types use the "dec_separator"=>",&...

Go to advanced search