Search found 158 matches

by Zryip TheSlug
Thu Oct 17, 2019 3:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to update a cell in a Data Grid table?
Replies: 4
Views: 166

Re: How to update a cell in a Data Grid table?

Hi Michael, You can update the content of a cell by using the SetDataOfIndex or SetDataOfLine commands of the datagrid API. Usage: 1. By using index reference SetDataOfIndex pIndex, pKey, pValue where pIndex if the index of the line, pKey is the name of the column and pValue is the value to update 2...
by Zryip TheSlug
Sat Oct 12, 2019 5:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't get data from a Data Grid
Replies: 25
Views: 737

Re: Can't get data from a Data Grid

Hi Michael,

Note the DataGrid Helper plugin is capable of applying various Grand Total functions to a DataGrid

http://lessons.livecode.com/m/4068/l/85 ... l-function
by Zryip TheSlug
Wed Sep 18, 2019 7:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting values from Selected Datagrid row
Replies: 7
Views: 388

Re: Getting values from Selected Datagrid row

This should work. Do your columns are named "id" and "client"? Don't confuse column name and column label. Try with a fresh datagrid and three new columns: Both codes: on selectionChanged local tLine, theDataA put the dghilitedline of me into tLine put the dgDataOfLine[tLine] of me into theDataA put...
by Zryip TheSlug
Tue Sep 17, 2019 5:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting values from Selected Datagrid row
Replies: 7
Views: 388

Re: Getting values from Selected Datagrid row

Hi Gagsoft, Have a look to this lesson: http://lessons.livecode.com/m/datagrid/l/7313-how-do-i-get-data-associated-with-a-row-or-column Note the dghilitedline is returning the number of the selected line, not the content data of the corresponding row. You need to deal with the array notation for tha...
by Zryip TheSlug
Wed Sep 11, 2019 2:16 pm
Forum: Data Grid Helper
Topic: datagrid joy
Replies: 8
Views: 1302

Re: datagrid joy

Hi Zryip TheSlug I will try what you said. I presume that means that I should write the scripts for the buttons etc... in the fill in data script. Kind regards Paul Paul, What you are calling the FillInData script is the row behavior script of the datagrid form. This behavior script contains the Fi...
by Zryip TheSlug
Wed Sep 11, 2019 2:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Get value of Row Column in Datagrid
Replies: 9
Views: 311

Re: Get value of Row Column in Datagrid

Another approach would consist in using the datagrid API http://lessons.livecode.com/m/datagrid/l/7313-how-do-i-get-data-associated-with-a-row-or-column put 1 into theLine put the dgDataOfLine[theLine] of group "European Currency Conversion table" into theDataA put theDataA["Column 41 "] into THE_VA...
by Zryip TheSlug
Thu Sep 05, 2019 8:22 pm
Forum: Data Grid Helper
Topic: datagrid joy
Replies: 8
Views: 1302

Re: datagrid joy

Paul, For datagrids, the strategy is to have all the scripts inside the row behavior. So instead to place your script in each buttons, you have to place it in the same location than the fillInData handler. Then for each button you have to test if this the right one and script the action it must do. ...
by Zryip TheSlug
Tue Sep 03, 2019 3:04 pm
Forum: Data Grid Helper
Topic: DGH 2.6.0 Released
Replies: 0
Views: 210

DGH 2.6.0 Released

Dear DGH's Users, We have updated DGH. New: - Column header color and column color: - It is now possible to color column headers (label and background) and column. - The DGH_Properties script has changed to support columns colorization. - Intalling a default header behavior script is now including s...
by Zryip TheSlug
Tue Sep 03, 2019 12:32 pm
Forum: Data Grid Helper
Topic: blob images in datagrid
Replies: 7
Views: 880

Re: blob images in datagrid

Hi Paul,

Data Grid Helper (DGH) is a third party plugin. For questions relative to the datagrid control itself, prefer the beginners or experienced users forums, you have more chance to get answers.
by Zryip TheSlug
Tue Sep 03, 2019 12:29 pm
Forum: Data Grid Helper
Topic: Resize items in Rows of Form
Replies: 2
Views: 421

Re: Resize items in Rows of Form

Hi Hrcap,

Data Grid Helper (DGH) is a third party plugin. For questions relative to the datagrid control itself, prefer the beginners or experienced users forums, you have more chance to get answers.
by Zryip TheSlug
Thu Dec 27, 2018 7:33 pm
Forum: Data Grid Helper
Topic: Little bug with DGH 2.5
Replies: 8
Views: 11414

Re: Little bug with DGH 2.5

Hi Bill, Sorry for he delay. I should visit the forum more often... When an user is clicking onto the popup, DGH is just displaying a list of options created previously depending of the context. This is only when one is selecting an item than DGH is copying scripts or / and groups from the user's pr...
by Zryip TheSlug
Thu Dec 27, 2018 7:25 pm
Forum: Data Grid Helper
Topic: Bought Datagrid Helper as part of a bundle a while ago - how to upgrade?
Replies: 16
Views: 2579

Re: Bought Datagrid Helper as part of a bundle a while ago - how to upgrade?

Oldrich contacted me directly by email and he updgraded in 2.5.
by Zryip TheSlug
Thu Dec 27, 2018 7:23 pm
Forum: Data Grid Helper
Topic: "Can't open file" message
Replies: 9
Views: 1663

Re: "Can't open file" message

Monty contacted me directly by email.

My answer was about privileges of the plugins folder.


Best Regards,
by Zryip TheSlug
Thu Dec 27, 2018 7:20 pm
Forum: Data Grid Helper
Topic: iOS scripts in DG2.5
Replies: 2
Views: 2722

Re: iOS scripts in DG2.5

Hi Roger, The iOS scripts are old scripts existing in DGH 1.x I kept in 2.5, however some of them may less interesting with LC 9.x 1.The scroller is adding a native iOS scroller to the datagrid table or form. Datagrid 2 are natively adding mobile scrollers for datagrid forms. Android and iOS. 2. Sto...
by Zryip TheSlug
Wed Sep 26, 2018 7:15 pm
Forum: Data Grid Helper
Topic: Little bug with DGH 2.5
Replies: 8
Views: 11414

Re: Little bug with DGH 2.5

Hi Ludo, I do not know what to do. The template list in DGH is just a popup menu with some items to display. If lcTaskList is turned off, do the DGH templates popup is working properly? I must confess I do not have lcTaskList installed and I do not know how it scans code. It looks like an incompatib...

Go to advanced search