[development] Creating submit and delete button with checkboxes in html format table

Todd todd at savagevenus.net
Wed Jan 5 05:39:10 UTC 2011


Are you looking for custom code? Because, from the explanation of what
you're trying to do, Views should accomplish this take. I believe you can
configure each row to have CRUD actions and multi-select options are
available too.

http://drupal.org/project/views

Todd

On 4 January 2011 23:50, mahesh gajabar <mahesh143an at gmail.com> wrote:

> Hi,
>
> I have fetched values from database and shown in html format table with the
> code help fromDrupal Community in my module file something like belowin
> figure 1. Now I have to create a check box infront of every row for deleting
> and editing that row values. Above or below the html table I have to create
> 3 Buttons "NEW","DELETE","EDIT" as shown in figure 2.
>
> "NEW" button should redirect me to form module where I have fields for
> filling form values. Using check boxes I have to delete or edit the data.
> How I can add buttons ,checkboxes and do my work.Please give me code .I am
> new to drupal so need help of Community.
>
> *Figure 1:*
>  <http://localhost/fr/rss.xml>
>  Slno Code Description Type Group  1 ABC Something bla bla one a
>  2 XYZ
> Some one
> one
> c
>
>
>
>
>
>  *Figure 2:*
>  <http://localhost/fr/rss.xml>
>
>
>
>    Slno Product CodeProduct Description UomProduct Type Product GroupPlant
> code1 P001Turmeric Root PowderKgRMBO 0012P002Birds Eye Chilly WholeKg RMBO
> 0013P003Brahmi Whole KgRMBO0014 P004Long Pepper WholeKgRMBO 0015P005Mace
> WholeKg RMBO0016P006Neem Leaf Whole KgRMBO0017 P007Patchouli Leaf wholeKg
> RMBO 0018P008Lemon Grass OilKg RMBO0019P009Neem Oil KgRMBO001
>
>
>
>
> *MAHESH GAJABAR
> Software Developer
> FrontalRain Technologies,Bengaluru*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110105/06d16255/attachment-0001.html 


More information about the development mailing list