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
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 662 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 821 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 10 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive