Help

Scripting, sorts displays correctly with output.table() but within the grid view of the UI

Topic Labels: Scripting extentions
1663 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Mike_Yamato
4 - Data Explorer
4 - Data Explorer

I’m trying to sort my records alphabetically and it logs perfectly with output.table() as you see below (first screenshot). But when I close the Scripting block it’s not reflected in Grid view (2nd screenshot). What additional step am I missing?

Sorted correctly
Screen Shot 2020-07-02 at 11.35.11

Not sorted
Screen Shot 2020-07-02 at 11.34.54

2 Replies 2

That depends on what your code is doing in Script Block to accommodate the requirements which you shared for the actual table. Can you show the script here?

Welcome to the community, @Mike_Yamato! :grinning_face_with_big_eyes: You’re not missing anything. The output feature of the Scripting block only outputs to the block’s own view panel. It does not change the contents of your base. If you want to sort your base alphabetically, you can apply a sort using the Sort option in the view toolbar. More about that here:

Unfortunately, there’s no way to change the record order using the Scripting block.