Example 6: Grid with Backend GraphQL Service code

Use it when you need to support Pagination with a GraphQL endpoint (for simple JSON, use a regular grid).
Take a look at the (Wiki docs)

Locale: {selectedLanguage + '.json'}
Pagination strategy:

{#if metrics}
Metrics: {metrics.endTime ? tempoFormat(metrics.endTime, 'DD MMM, h:mm:ss a', 'en-US') : ''} | {metrics.executionTime}ms | {metrics.totalItemCount} items
{/if}
Programmatically go to first/last page:
GraphQL Query: {graphqlQuery}
gridStateChanged(event.detail)} onSvelteGridCreated={(instance) => (svelteGrid = instance)} />