here's scenario:
i'm doing website taxidermy company , working on procelist. after looking @ ideas wrote datalist class mimich asp.net datalist. in cases works perfectly, except one.
here's code causing trouble:
<table id="pricelist" cellpadding="5" cellspacing="5"> <% html.datalist(model.animalprices).columns(7).item(item => { item.template(galleryimage => {%> <tr style="margin-right:35px; line-height:150%;"> <td><%=galleryimage.typename %></td> </tr> <tr> <td><%=galleryimage.mountprice %></td> </tr> <%}); }).render(); %> </table>
the list supposed go horizontally because way have set it's going vertically. in each loop creates new row, causing go vertical. anone got , ideas how can change , make display horizontally ?
if need code datalist can provide keep in mind it's lot of code
tr = table row.. cause columns stack on top of each other.
you create 1 row, , add multiple columns it. may require nested loop ad single row column ratio.
Comments
Post a Comment