PDA

View Full Version : Multiline Cell in Datagrid


Reikoshea
05-10-2006, 06:41 PM
have a DataGrid being populated with an XML source (generated from a PHP script).

I can get the datagrid and images for said datagrid to appear, but i cant get the Description to go more than one line. I know it will have something to do with the cellRenderer API, but i dont know how to get it to work. Tried a few canned resources and they havent worked. Anyone got any advice or script that works?

Linked is what i have so far. My boss wanted me to use real data rather than stuff i made up, thats why i have corvette pictures for other models. I didnt get a chance to add buttons to it yet, but ive gotten those worked out on a different file.

http://reikoshea.com/datagridTest.zip

TIA

jsebrech
05-11-2006, 12:43 PM
This tutorial (http://www.communitymx.com/content/article.cfm?cid=B4AED) explains how to make a custom cell renderer pretty well.