DataGrid Delete Rows

I have some JSON data I am pulling into Domo via a connector however when I Parse the data I end up with a table which has rows with varying numbers of coloumns and therefore wont save into a dataset.
One option I am looking at is to just delete the rows I dont need and end up with one relevant row of the data Im after, but how do I delete Rows. I have tried different varients of
datagrid.removerow(1);
Datagrid.Rows.Remove(1);
eg
but nothing seems to work, or is there a was to delete the data before Parsing it (which I have to do twice as everything is a suset of 'data')
var jsonRes = JSON.parse(res);
datagrid.magicParseJSON(jsonRes.data);
Comments
-
You should to do this using the 'JSON connector with custom parsing:'
0 -
Thanks but that link says what to do but not how to do it i.e. how do I parse and 'Offset by records'.
sorry not a Java expert just after some code.
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 666 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 145 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive