Also see <a href="http://drupal.org/project/views_bulk_operations">http://drupal.org/project/views_bulk_operations</a><br><br><div class="gmail_quote">On Wed, Jan 5, 2011 at 5:39 AM, Todd <span dir="ltr">&lt;<a href="mailto:todd@savagevenus.net">todd@savagevenus.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Are you looking for custom code? Because, from the explanation of what you&#39;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.<div>


<br></div><div><a href="http://drupal.org/project/views" target="_blank">http://drupal.org/project/views</a><br><div><br></div><div>Todd<div><div></div><div class="h5"><br><br><div class="gmail_quote">On 4 January 2011 23:50, mahesh gajabar <span dir="ltr">&lt;<a href="mailto:mahesh143an@gmail.com" target="_blank">mahesh143an@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi,<br></p><p>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 
&quot;NEW&quot;,&quot;DELETE&quot;,&quot;EDIT&quot; as shown in figure 2. <br></p><p>&quot;NEW&quot; 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.</p><p><u><i><b>Figure 1:</b></i></u><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:&#39;Times New Roman&#39;;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:monospace,&#39;Lucida Console&#39;,&#39;Trebuchet MS&#39;;font-size:12px"><a href="http://localhost/fr/rss.xml" style="text-decoration:underline;color:rgb(21, 120, 150)" target="_blank"><br>




</a></span></span>

</p>
<table align="left" border="1">
<tbody><tr>
<th>Slno</th>
<th>Code</th>
<th> Description</th>
<th>Type</th>
<th>Group</th>
</tr>
<tr>
<td>1</td>
<td>ABC</td>
<td>Something bla bla </td>
<td>one</td>
<td>a<br></td>
</tr>
<tr><td>2</td>
<td>XYZ<br></td>
<td>Some one<br></td>
<td>one<br></td>
<td>c</td></tr></tbody>
</table>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><u><i><b>Figure 2:</b></i></u><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:&#39;Times New Roman&#39;;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:monospace,&#39;Lucida Console&#39;,&#39;Trebuchet MS&#39;;font-size:12px"><a href="http://localhost/fr/rss.xml" style="text-decoration:underline;color:rgb(21, 120, 150)" target="_blank"><br>




</a></span></span>

</p>
<p><br></p>
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:&#39;Times New Roman&#39;;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:monospace,&#39;Lucida Console&#39;,&#39;Trebuchet MS&#39;;font-size:12px"><div style="margin-bottom:30px">



<div style="display:block;padding:5px"><p style="margin:0.6em 0px 1.2em;padding:0px;line-height:20px"><input value="New" style="color:rgb(241, 237, 224);background-color:rgb(58, 27, 6);border-width:1px;border-style:solid;padding:2px 20px;font-weight:bolder;font-family:monospace" type="submit"><span> </span>  <span> </span><input value="Edit" style="color:rgb(241, 237, 224);background-color:rgb(58, 27, 6);border-width:1px;border-style:solid;padding:2px 20px;font-weight:bolder;font-family:monospace" type="submit"><span> </span>  <span> </span><input value="Delete" style="color:rgb(241, 237, 224);background-color:rgb(58, 27, 6);border-width:1px;border-style:solid;padding:2px 20px;font-weight:bolder;font-family:monospace" type="submit"><span> </span>  <span> </span><input value="Exit" style="color:rgb(241, 237, 224);background-color:rgb(58, 27, 6);border-width:1px;border-style:solid;padding:2px 20px;font-weight:bolder;font-family:monospace" type="submit"></p>



<fieldset style="margin:0.5em 0px;padding:0.5em"><legend></legend>  <span> </span><input name="ccode" size="50" style="color:rgb(34, 34, 34)" type="text"><span></span><table style="border-collapse:collapse;margin:1em 0px;width:873px" border="1">



<tbody style="border-top:1px solid rgb(204, 204, 204)"><tr><th style="text-align:left;padding:0.3em 0.5em;border-width:1px 0px;border-style:solid;border-color:rgb(181, 155, 114)">Slno</th><th style="text-align:left;padding:0.3em 0.5em;border-width:1px 0px;border-style:solid;border-color:rgb(181, 155, 114)">



Product Code</th><th style="text-align:left;padding:0.3em 0.5em;border-width:1px 0px;border-style:solid;border-color:rgb(181, 155, 114)">Product Description</th><th style="text-align:left;padding:0.3em 0.5em;border-width:1px 0px;border-style:solid;border-color:rgb(181, 155, 114)">



Uom</th><th style="text-align:left;padding:0.3em 0.5em;border-width:1px 0px;border-style:solid;border-color:rgb(181, 155, 114)">Product Type</th><th style="text-align:left;padding:0.3em 0.5em;border-width:1px 0px;border-style:solid;border-color:rgb(181, 155, 114)">



Product Group</th><th style="text-align:left;padding:0.3em 0.5em;border-width:1px 0px;border-style:solid;border-color:rgb(181, 155, 114)">Plant code</th></tr><tr><td style="padding:0.3em 0.5em">1</td><td style="padding:0.3em 0.5em">



P001</td><td style="padding:0.3em 0.5em">Turmeric Root Powder</td><td style="padding:0.3em 0.5em">Kg</td><td style="padding:0.3em 0.5em">RM</td><td style="padding:0.3em 0.5em">BO</td><td style="padding:0.3em 0.5em">
001</td></tr><tr><td style="padding:0.3em 0.5em">2</td><td style="padding:0.3em 0.5em">P002</td><td style="padding:0.3em 0.5em">Birds Eye Chilly Whole</td><td style="padding:0.3em 0.5em">Kg</td><td style="padding:0.3em 0.5em">



RM</td><td style="padding:0.3em 0.5em">BO</td><td style="padding:0.3em 0.5em">001</td></tr><tr><td style="padding:0.3em 0.5em">3</td><td style="padding:0.3em 0.5em">P003</td><td style="padding:0.3em 0.5em">Brahmi Whole</td>



<td style="padding:0.3em 0.5em">Kg</td><td style="padding:0.3em 0.5em">RM</td><td style="padding:0.3em 0.5em">BO</td><td style="padding:0.3em 0.5em">001</td></tr><tr><td style="padding:0.3em 0.5em">4</td><td style="padding:0.3em 0.5em">



P004</td><td style="padding:0.3em 0.5em">Long Pepper Whole</td><td style="padding:0.3em 0.5em">Kg</td><td style="padding:0.3em 0.5em">RM</td><td style="padding:0.3em 0.5em">BO</td><td style="padding:0.3em 0.5em">
001</td></tr><tr><td style="padding:0.3em 0.5em">5</td><td style="padding:0.3em 0.5em">P005</td><td style="padding:0.3em 0.5em">Mace Whole</td><td style="padding:0.3em 0.5em">Kg</td><td style="padding:0.3em 0.5em">
RM</td><td style="padding:0.3em 0.5em">BO</td><td style="padding:0.3em 0.5em">001</td></tr><tr><td style="padding:0.3em 0.5em">6</td><td style="padding:0.3em 0.5em">P006</td><td style="padding:0.3em 0.5em">Neem Leaf Whole</td>



<td style="padding:0.3em 0.5em">Kg</td><td style="padding:0.3em 0.5em">RM</td><td style="padding:0.3em 0.5em">BO</td><td style="padding:0.3em 0.5em">001</td></tr><tr><td style="padding:0.3em 0.5em">7</td><td style="padding:0.3em 0.5em">



P007</td><td style="padding:0.3em 0.5em">Patchouli Leaf whole</td><td style="padding:0.3em 0.5em">Kg</td><td style="padding:0.3em 0.5em">RM</td><td style="padding:0.3em 0.5em">BO</td><td style="padding:0.3em 0.5em">
001</td></tr><tr><td style="padding:0.3em 0.5em">8</td><td style="padding:0.3em 0.5em">P008</td><td style="padding:0.3em 0.5em">Lemon Grass Oil</td><td style="padding:0.3em 0.5em">Kg</td><td style="padding:0.3em 0.5em">
RM</td><td style="padding:0.3em 0.5em">BO</td><td style="padding:0.3em 0.5em">001</td></tr><tr><td style="padding:0.3em 0.5em">9</td><td style="padding:0.3em 0.5em">P009</td><td style="padding:0.3em 0.5em">Neem Oil</td>
<td style="padding:0.3em 0.5em">Kg</td><td style="padding:0.3em 0.5em">RM</td><td style="padding:0.3em 0.5em">BO</td><td style="padding:0.3em 0.5em">001</td></tr></tbody></table></fieldset><br><p style="margin:0.6em 0px 1.2em;padding:0px;line-height:20px">



<input value="New" style="color:rgb(241, 237, 224);background-color:rgb(58, 27, 6);border-width:1px;border-style:solid;padding:2px 20px;font-weight:bolder;font-family:monospace" type="submit"><span> </span>  <span> </span><input value="Edit" style="color:rgb(241, 237, 224);background-color:rgb(58, 27, 6);border-width:1px;border-style:solid;padding:2px 20px;font-weight:bolder;font-family:monospace" type="submit"><span> </span>  <span> </span><input value="Delete" style="color:rgb(241, 237, 224);background-color:rgb(58, 27, 6);border-width:1px;border-style:solid;padding:2px 20px;font-weight:bolder;font-family:monospace" type="submit"><span> </span>  <span> <br>



</span></p><p style="margin:0.6em 0px 1.2em;padding:0px;line-height:20px"><br><span></span></p><p style="margin:0.6em 0px 1.2em;padding:0px;line-height:20px">
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:&#39;Times New Roman&#39;;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small"><b><i style="color:rgb(0, 153, 0);font-family:&#39;comic sans ms&#39;,sans-serif"><font style="color:rgb(0, 153, 0)" size="2">MAHESH GAJABAR</font></i><br style="color:rgb(0, 153, 0);font-family:&#39;comic sans ms&#39;,sans-serif">



<font style="color:rgb(0, 153, 0);font-family:&#39;comic sans ms&#39;,sans-serif" size="2"><i>Software Developer<br>FrontalRain Technologies,Bengaluru</i></font></b><br></span></span></p></div></div></span></span>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br>