DatGrid column not accepting changes

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
tjframe
Posts: 14
Joined: Wed Dec 05, 2007 8:52 am

DatGrid column not accepting changes

Post by tjframe » Thu Sep 24, 2009 8:44 pm

Hi all,

I'm new to datagrids and have encountered a situation that I hope is easily explained by some incorrectly set property setting or something.

Basically I have a grid with like 6 columns and I can click and edit the text of each row and column except that one of the columns reverts back to the previous value as soon as I click outside the cell box. The other columns I can edit and change normally.

What am I missing?

- thanks

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Contact:

Post by trevordevore » Fri Sep 25, 2009 5:24 am

Hi,

What you describe isn't normal behavior but we will need more details to troubleshoot.

Can you provide some more information about the Data Grid? Have you customized any of the column templates? What scripts have you added? Anything else you may have done to that column that makes it different then the others?
Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

tjframe
Posts: 14
Joined: Wed Dec 05, 2007 8:52 am

Post by tjframe » Fri Sep 25, 2009 4:30 pm

Actually I figured it out last night :)

I had a space " " after the last char of the name of the column and that is what was causing it to not update the text after closing the cell. Go figure!

So I removed the space and all is well again. The weird thing is that I tried to duplicate this "behavior" (bug?) by doing this to another column name, but it still worked normally. Oh well..

Thanks for responding :)

- TJ

Post Reply