Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
id: 'id',
title: 'ID'
},
{
id: 'firstName',
title: 'First Name',
sortable: true
},
{
id: 'lastName',
title: 'Last Name',
sortable: true
}
];
const fetcher = createFetcher(createData());
const factory = create();
export default factory(() => {
return ;
});
{
id: 'middleName',
title: 'Middle Name'
},
{
id: 'lastName',
title: 'Last Name',
filterable: true
},
{
id: 'otherName',
title: 'Other Name'
}
];
const fetcher = createFetcher(createData());
const factory = create();
export default factory(() => {
return ;
});
export default factory(function GridTab({ middleware: { icache } }) {
const data = icache.getOrSet('data', generateData(10000));
return v('div', { classes: css.root }, [
w(Grid, {
columnConfig: columnConfig,
fetcher: createFetcher(data),
updater: createUpdater(data),
height: 400
})
]);
});
id: 'id',
title: 'ID'
},
{
id: 'firstName',
title: 'First Name',
sortable: true
},
{
id: 'lastName',
title: 'Last Name',
sortable: true
}
];
const fetcher = createFetcher(createData());
const factory = create();
export default factory(() => {
return (
{
let classes = [css.sort, 'fa', 'fa-sort'];
if (direction === 'asc') {
classes = [css.sort, 'fa', 'fa-sort-amount-asc'];
} else if (direction === 'desc') {
classes = [css.sort, 'fa', 'fa-sort-amount-desc'];
}
{
id: 'middleName',
title: 'Middle Name'
},
{
id: 'lastName',
title: 'Last Name',
filterable: true
},
{
id: 'otherName',
title: 'Other Name'
}
];
const fetcher = createFetcher(createData());
const factory = create();
export default factory(function ColumnResize() {
return ;
});
target="_blank"
href={`https://www.google.com/search?q=${item.value}`}
>
{item.value}
);
}
},
{
id: 'lastName',
title: 'Last Name'
}
];
const fetcher = createFetcher(createData());
const factory = create();
export default factory(() => {
return ;
});
title: 'ID'
},
{
id: 'firstName',
title: 'First Name',
editable: false
},
{
id: 'lastName',
title: 'Last Name',
editable: false
}
];
const data = createData();
const fetcher = createFetcher(data);
const updater = createUpdater(data);
const factory = create();
export default factory(() => {
return ;
});