Simple Datagrid task?

Martin Koob mkoob at rogers.com
Tue Apr 27 09:27:10 EDT 2021


HI

Here is a great resource stack on DataGrids you can see how to perform different actions.  It has 8 different Datagrid forms showing different aspects.  See Datagrid Form 7 of the stack.
DG7: User input, user edit text, wrap text, sum column of numbers

https://forums.livecode.com/viewtopic.php?f=7&t=20130&p=102026&hilit=datagrid+expand+rows#p102026

Martin


> On Apr 27, 2021, at 8:20 AM, hakan--- via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> On the second tab in the preferences pane there is a checkbox that says ”Allow text editing”. If you have that selected you can edit the text by double-clicking a cell.
> 
> Or do you need something else?
> 
> :-Håkan
> 
>> On 26 Apr 2021, at 21:03, William Prothero via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Folks:
>> I’m wanting to use a datagrid to store data that I enter by hand.
>> 
>> Seems this oughta be quite simple, but ….. messing with the docs is frustrating.
>> 
>> I want to be able to click on an empty cell in a datagrid, have it open, and enter a number or text. Then I want to store the values to a file. I have no problem with using dgArray to get the data and store it, but the simple act of opening a cell so I can enter a number eludes me.
>> 
>> I’m sure there must be tutorials, but I guess I’m impatient to sort through them. When I started looking around, I see there’s a problem trying to enter data into an empty cell. I need to do this. The cells with data open and let me enter values when I double click, but ……. empty ones?
>> 
>> Could somebody point me to a tutorial that lets me do this simple task with a datagrid?
>> 
>> Thanks,
>> Bill
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list