No Row Behavior? (Help)

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
LJE
Posts: 5
Joined: Fri Aug 19, 2016 10:36 am

No Row Behavior? (Help)

Post by LJE » Fri Aug 19, 2016 10:49 am

I'm a complete noob and I'm using Livecode Community 8.0.2.

I'm following this Livecode lesson: How Do I Create a Form with Variable Line Heights? (can't post links?)

I *think* it autoresizes the rows' height so that it fits the text on all columns. I also want it to wrap the text but I'm not sure it does that.

Problem is I see no Row Behavior in the Inspector. Help?

---

Also is there still no way to freeze columns? (edit: solved it by using 2 data grids from user bankok)

Is there a way to vertically center the text in Data Grids? You can resize the row but the text stay on top. (edit: solved this with margins.)
Last edited by LJE on Fri Aug 19, 2016 3:36 pm, edited 1 time in total.

hpsh
Posts: 52
Joined: Tue Aug 25, 2015 8:06 pm

Re: No Row Behavior? (Help)

Post by hpsh » Fri Aug 19, 2016 3:01 pm

did at least find the link http://lessons.livecode.com/m/datagrid/ ... ne-heights

but i can't find row behavior myself in 8.0.2 :-(

maybe the skipped it in the 8 series of livecode? are pretty sure that it exist in the 7 series of livecode

nb: you will be able to insert links and code, after some time as a member of the forum.

just tried that in 7.1.4, and does see the row behavior selection, but need to change datagrid style from table to form to change it
Last edited by hpsh on Fri Aug 19, 2016 3:16 pm, edited 1 time in total.

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

Re: No Row Behavior? (Help)

Post by Klaus » Fri Aug 19, 2016 3:12 pm

Hi friends,

@LJE
Welcome to the forum! :D
Due to SPAM problems, you need to have a least 10 postings before you can attach files and/or post links!

To all:
See attached screenshot, the "Edit script" button is actually the former "Row behavior" button!
its tooltips also shows "Row behavior"
datagrid_props.jpg
Best

Klaus

hpsh
Posts: 52
Joined: Tue Aug 25, 2015 8:06 pm

Re: No Row Behavior? (Help)

Post by hpsh » Fri Aug 19, 2016 3:24 pm

ok, nice, so it works in 8.0.2 :-)

hope the will update the tutors pages soon, or make the webpages change depending of that type of livecode people are using :-/

LJE
Posts: 5
Joined: Fri Aug 19, 2016 10:36 am

Re: No Row Behavior? (Help)

Post by LJE » Fri Aug 19, 2016 3:34 pm

I see but there's no Edit Script if the style is set to table as hpsh said.

I've been working on my project a bit after I posted this and figured I might not need this functionality. What I only need now is to make the Data Grid wrap the text. Is that possible? It might be possible to just wrap it in Excel before saving as txt. I'll try (edit: it does not work).

---

I also need to script the Data Grid to get its contents from a txt file named after a button I press. Got any hints or is there a lesson/guide for that?

Post Reply