This topic is locked
[SOLVED]

 ADD A BUTTON IN GRID AREA WITH INSERT FUNCTIONALITY

11/15/2012 6:27:16 AM
PHPRunner General questions
C
chrispa author

HI,
First of all let me thank you all for your support and great program that you offer to all of us .
My query is as below :
i have a child table called 'rest' with following fields:

0000-checkbox

0030-checkbox

0100-checkbox

0130-checkbox

0200 -checkbox
i need to add a button in grid area OF INLINE EDIT OF child table 'rest', named 'update' and two custom fields "from" & " TO" next to button 'update'.

User will add values to fields "FROM" & "TO" and then click button 'Update" with functionality to turn checkboxes ON from the current row .

For example if user add values FROM: 0000 TO : 01000 and click update to CHeck ON fields 0000,0030,01000

if user add values FROM : 0130 To:0200 and click button'update' to check ON fields 0130,0200 and so on.
Can someone help
thanks in advance

C
cgphp 11/15/2012

There is no direct solution. You need js custom code.

C
chrispa author 11/15/2012



There is no direct solution. You need js custom code.


ok any ideas proposals how to do it ?
thanks

C
chrispa author 11/15/2012



ok any ideas proposals how to do it ?
thanks


ok i understand then just a tip for doing the following ONLY
Add the button in grid area and by clicking it to check on field 0000
can you help on that only and then i can do what i need

thanks