Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

[[ Bug 17600 ]] Fix data grid refresh button in PI #1289

Merged
merged 1 commit into from Jul 26, 2016
Merged

Conversation

livecodeali
Copy link
Member

Replace the com.livecode.pi.datagrid PI editor (which
contained buttons to trigger refreshing the data grid and opening
the row template stack) with a generic com.livecode.pi.action editor
consisting of a single button, which forces an update whenever it is
clicked.

Call a custom setter when the buttons for these two data grid actions
are pressed, to handle the resulting action.

Replace the com.livecode.pi.datagrid PI editor (which
contained buttons to trigger refreshing the data grid and opening
the row template stack) with a generic com.livecode.pi.action editor
consisting of a single button, which forces an update whenever it is
clicked.

Call a custom setter when the buttons for these two data grid actions
are pressed, to handle the resulting action.
@peter-b
Copy link
Contributor

peter-b commented Jul 26, 2016

@livecodeali The IDE library feels like the "wrong" place for the revIDEDataGridAction handler to live, but I don't really have a better suggestion at the moment.

@livecode-vulcan review ok d50c0c9

@livecode-vulcan
Copy link

💙 review by @peter-b ok d50c0c9

@livecodeali
Copy link
Member Author

@peter-b All the data-grid support stuff should probably be in a separate backscript I guess. But since the revIDEGet/SetDataGridProperty functions are in there, it's the best place for the moment.

@peter-b peter-b merged commit 7c52c33 into develop Jul 26, 2016
@peter-b peter-b deleted the bugfix-17600 branch July 26, 2016 15:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants