02-11-2024, 04:32 PM
Yes, thanks for reply, it's certainly a very different beast.
However, I do believe it can be useful and this is probably the best forum to share any tips & tricks on the subject, unless Alexandre can write an article.
What I have found so far:
1) Linking the grid to data at design time is pointless: it displays nothing, sets no useful properties and does not allow adding / removing columns from the list. It must be set at runtime, at which point it actually reads what it needs and retrieves / displays data.
2) Columns have to be pre-created manually.
3) Styles can be set using the names from here: https://jqueryui.com/themeroller/
4) For editing to work, you have to tell it what the keys are, it would not read it from the dataset, you have to check RowId boxes in all key columns.
Annoyingly, it's not sizing itself right at the start. But will resize itself ni8cely when the browser is resized. Need to figure that out next.
And I've just made my first edit ;-) And it did actually POST it back to the dataset ;-) Couldn't be happier for the moment, but I'm sure there would be a fight at every turn going forward...
However, I do believe it can be useful and this is probably the best forum to share any tips & tricks on the subject, unless Alexandre can write an article.
What I have found so far:
1) Linking the grid to data at design time is pointless: it displays nothing, sets no useful properties and does not allow adding / removing columns from the list. It must be set at runtime, at which point it actually reads what it needs and retrieves / displays data.
2) Columns have to be pre-created manually.
3) Styles can be set using the names from here: https://jqueryui.com/themeroller/
4) For editing to work, you have to tell it what the keys are, it would not read it from the dataset, you have to check RowId boxes in all key columns.
Annoyingly, it's not sizing itself right at the start. But will resize itself ni8cely when the browser is resized. Need to figure that out next.
And I've just made my first edit ;-) And it did actually POST it back to the dataset ;-) Couldn't be happier for the moment, but I'm sure there would be a fight at every turn going forward...