[rwfphp-developers] Feedback to rwfphp from control
Status: Beta
Brought to you by:
kaibab
|
From: Berend D. <cyb...@sp...> - 2004-09-21 00:30:12
|
K, after looking at the datagrid i decided its not what I wanted and to
get it to do that would require loads of code, loads of controls and
thus loads of overhead... So I've started writing my own list control
that displays about the same stuff as the datagrid but this one is a lot
simpler (and thus faster, i hope). Now every cell is made clickable and
I can get it to fire the event. Question: is there a way to tell the
control *WHAT* has been clicked? Its all the same code over and over so
it all originates from the control itself. Now I need a way to determine
what row has been clicked.
The whole point was to make one control that can do stuff like that
without embedding more controls (yes i might regret that approach but
right now I have no intentions for it to contain other controls).
One solution might be to use some sort of javascript function to change
a variable ( setVar('row_id','12') or summit like that) and control it
that way... However I don't know if something like that exists and if
not how to reach back to the framework from the html to tell it stuff
like that.
Berend Dekens
"Who is finally getting the hang of this :)"
|