Re: [rwfphp-developers] DataGrid
Status: Beta
Brought to you by:
kaibab
|
From: Renaun E. <re...@mu...> - 2004-09-15 21:47:29
|
Your MultiContainer is a very valid way of doing things. There is nothing wrong with it. For the DataGrid, yes to you question about using it. If you look at the CRM example (on the rwfphp website) the DataGrid lists dynamically created linkable items. This is one of the controls I wanted to write an article on but there are some ways to use it I haven't gotten around to it. But I'll give some sample code to show how to start using it. Take a look of the code snippets below, if they get you confused I'll have to write something more formal up: url to code snippet - http://www.rwfphp.org/phpBB2/viewtopic.php?p=34#34 Renaun Berend Dekens wrote: > Ok, the MultiContainer works fine now. I don't see any problem with > the way its done now - it seems its a legitimate way of overloading > objects. > > Anyway, I've build a listing control that shows a selection from the > database. Now I wanted to make the list clickable. I mean you can > select one of the entries which then shows it details and the option > to edit and remove stuff. > > The problem is that I generate this list dynamically so I can't just > add buttons as the list size may change, plus I generate the code for > the table myself. Now I found that DataGrid control you were working > on. Is that one capable of generating clickable content or do i need > to design my own control for summit like that? I looked at the code > but I couldn't find any evidence to see if it supports events. > > Berend Dekens > > P.S. Once I got this stuff completely working I'll help out with some > articles and examples for using code. Should help other users getting > started as well :-) > > > ------------------------------------------------------- > This SF.Net email is sponsored by: thawte's Crypto Challenge Vl > Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam > Camcorder. More prizes in the weekly Lunch Hour Challenge. > Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m > _______________________________________________ > rwfphp-developers mailing list > rwf...@li... > https://lists.sourceforge.net/lists/listinfo/rwfphp-developers |