click_tr

Hi,

I am trying to make the whole record of a grid be clickable. Doing a sc_link kind of works but obviously there are spaces between the characters of the fields. I have had a look at the grid and found there is already a click_tr function there. Can anyone think of a way of to use that so that rather than highlighting the record, it went to a new screen?

Cheers,

Mike

Re: click_tr

Mike,

If you want to select entire record clickable…and jump into screen…! You may have recordselection option with radio button or check box option

Recently Sc has released to have record selection option in the grid where you want to do batch process
Refer this
http://scriptcase.net/phpgenerator/samples/tutoriais/grid/grid45.php
In the help it works for Multiple records, you may have to trim to code to work for single record any time

Regards
Dhana

Re: click_tr

Where did you find click_tr…? Is it an sc_macro…?

advise
Regards
Dhana

Re: click_tr

Hi Dhana,

Thanks for the reply but I’m not sure how this helps, I’m guessing I’m being stupid rather than you giving me a wrong steer. This seems to be when you want to process certain records on a grid, record select PHP code is to process a record and only fires when you press the Run button you have created.

Thanks.

Mike

Re: click_tr

Mike,
Fine…!
I would understand that you want enitre record clickable and jump into new screen edition or do something. that is one way or You can concatinate all the fields with space or without space and pass it to SQL of grid application

regards
Dhana