ahs10 Posted January 16, 2008 Share Posted January 16, 2008 hello. i have a search results page that typically displays around 200 search results to a user using a simple while loop. the user then uses sorting features on each column heading to display the list as desired. then typically the user will select around 20 rows to be changed. obviously i could use a text box on each row to allow a user to be able to select that row to edit it. is there a better, more user friendly way? is there anything out there already that would use a shift-click method or something that would reduce the number of clicks the user has to make to select 20 consecutive rows? i don't mind trying to recreate something, any ideas would help me here. also does anyone know if the shift click thing is even possible with just php, or would i need to incorporate something like flash to make that possible? Quote Link to comment https://forums.phpfreaks.com/topic/86328-select-multiple-rows-gui-ideas/ Share on other sites More sharing options...
GingerRobot Posted January 16, 2008 Share Posted January 16, 2008 It's certainly not possible with PHP. PHP is a server side language - by the time the HTML is displayed in the browser, the PHP code has been executed. Though im no javascript expert, I would imagine it wouldn't be too difficult to create using javascript, using the onClick and onKeyPress events. Perhaps if you head over to the javascript forum, someone with a bit more javascript knowledge might be able to point you in the right direction. Quote Link to comment https://forums.phpfreaks.com/topic/86328-select-multiple-rows-gui-ideas/#findComment-441131 Share on other sites More sharing options...
ahs10 Posted January 16, 2008 Author Share Posted January 16, 2008 yes, thank you... i wasn't really thinking when i posted here, but key strokes and such would be client side. thanks again! Quote Link to comment https://forums.phpfreaks.com/topic/86328-select-multiple-rows-gui-ideas/#findComment-441137 Share on other sites More sharing options...
GingerRobot Posted January 16, 2008 Share Posted January 16, 2008 No problem. Can you mark this as solved please? Quote Link to comment https://forums.phpfreaks.com/topic/86328-select-multiple-rows-gui-ideas/#findComment-441160 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.