Built-in DataGrid issue

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
tturner43
Posts: 21
Joined: Fri May 27, 2011 10:01 am
Contact:

Built-in DataGrid issue

Post by tturner43 » Wed Jun 15, 2011 10:01 am

Hi,

Downloaded the Data Grids Tour.... played around with it.

- Problem: On Columns, setting Align to Center or Right does nothing to change the alignment of the column label on the grid. I even went back to Basic Properties and hit refresh grid and still no effect. Is that a bug or does alignment of column headers and data not work?

- How do I color a column or row differently than other columns and rows? Example: Row 3 I want royal blue with white text. Column 6 I want red with white text.

- How do you dynamically create the list of columns? Or is there a hide property that can be used to hide unused columns?

Or do I need to use a 3rd party grid?

Thanks

-T

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Built-in DataGrid issue

Post by Klaus » Wed Jun 15, 2011 10:18 am

HI tturner43,

please check these urls, I'm sure you'll find here what you are looking for:
http://lessons.runrev.com/spaces/lesson ... s/datagrid
http://lessons.runrev.com/spaces/lesson ... agrid_tips

And please check the "DataGrid" PDF from the first URL, many examples there, too.

And no, no 3rd party DataGrid necessary!


Best

Klaus

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Built-in DataGrid issue

Post by Klaus » Wed Jun 15, 2011 10:29 am

Hi tturner43,

please open only ONE thread for your issuses, thanks!
I will delete your posting "Available DataGrids" in "Using Environment Extensions".

Best

Klaus

tturner43
Posts: 21
Joined: Fri May 27, 2011 10:01 am
Contact:

Re: Built-in DataGrid issue

Post by tturner43 » Wed Jun 15, 2011 9:23 pm

Sorry about that...

tturner43
Posts: 21
Joined: Fri May 27, 2011 10:01 am
Contact:

Re: Built-in DataGrid issue

Post by tturner43 » Fri Jun 17, 2011 11:21 pm

I looked at the urls you sent....

Can you individually set the type of editing on a column? For example... one column I need each cell to convert to a options list or select list of 4 items... so that when user clicks cell... pop down of options... user selections one of 4 options... and then the pop down closes and value stored into cell....

I'm assuming this would be done with column template.... or are we limited to only using a text field type of edit?

Post Reply