Would gridview also handle a vertical column approach rather than horizontal? For example each model item would be a checkbox and description. I want two columns of this set on each physical row. Layed out like a dictionary or phonebook.
The "x" below is a checkbox with a description next to it. x AA description x CB description x AB description x DA description x BA description x DB description x BB description x EA description x CA description On Thu, Dec 3, 2009 at 1:17 AM, vineet semwal <vineetsemwal1...@gmail.com>wrote: > take a look at gridview > > On Thu, Dec 3, 2009 at 11:33 AM, <vinay.karmar...@wipro.com> wrote: > > > Hi, > > > > > > > > I have a List View. I want to display the items in this list view in 2 > > columns. The logic for this is as follows: > > > > > > > > If only 1 item in list then there will 1 item in left columns, and no > > right column. > > > > For 2 items there will be 1 item in left and 1 in right. > > > > For 3 items there will be 1st item in left and then 2nd in right and in > > the next line 3rd in left. > > > > For 4 items there will be 1st item in left and then 2nd in right and in > > the next line 3rd in left and 4th in right. > > > > And so on for N items. > > > > > > > > How can I achieve this? > > > > > > > > I am interested in both, the HTML markup & code. > > > > > > > > Thanks. > > > > > > > > Regards, > > > > > > > > Vinay Karmarkar > > > > > > Please do not print this email unless it is absolutely necessary. > > > > The information contained in this electronic message and any attachments > to > > this message are intended for the exclusive use of the addressee(s) and > may > > contain proprietary, confidential or privileged information. If you are > not > > the intended recipient, you should not disseminate, distribute or copy > this > > e-mail. Please notify the sender immediately and destroy all copies of > this > > message and any attachments. > > > > WARNING: Computer viruses can be transmitted via email. The recipient > > should check this email and any attachments for the presence of viruses. > The > > company accepts no liability for any damage caused by any virus > transmitted > > by this email. > > > > www.wipro.com > > > > > > -- > regards, > Vineet Semwal >