@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
adminKeymaster
Hi Scott,
The code should be updated like this:
document.querySelector('button').onclick = () => { const table = document.getElementById('table'); const state = table.saveState(); table.clearSort(); table.updateRow('c', {id: 'bc', name: 'Item C2'}); table.loadState(state); }
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/adminKeymasterHi Matias,
The current version of the product uses the ‘placeholder’ key from the ‘messages’ property as this is part of the localization process of the Grid. The placeholder property is used for backward compatibility only if the ‘placeholder’ key is not defined, but in the current version it is and its value is ‘No rows’ which means that the solution is to set a new value of the ‘placeholder’ in the ‘messages’ property.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
Sorry, the correct property for the taskColumns is hidden: true, not visible: false.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
It is not possible to apply custom formatting at present.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
You can apply to the button tag using CSS the following: display: flex; and align-items: center; if you want the Text and Image to be aligned.
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
I suppose you will need to use Javascript and JSInterop if you want to preventDefault and event. In Blazor with .NET code using the eventObj it cannot happen.
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
The callback function returns the exported data. It cannot be used for formatting purposes. The export process at present exports the dates to ISO 8601 date format.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/November 11, 2024 at 10:16 pm in reply to: Aligning Date Format in Gantt Exports with Scheduler Format #111759adminKeymasterHi,
The formatting of the exported dates data of the scheduler depends on the scheduler properties ‘monthFormat’, ‘dayFormat’, ‘hourFormat’, ‘minuteFormat’, ‘yearFormat’.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/November 11, 2024 at 9:57 pm in reply to: How to update summary row in grouping in data grid? #111758adminKeymasterHi,
We will need a stackblitz example and steps to reproduce the described behavior.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
The columns have a property called ‘visible’. If you set it to false, the column will be hidden for the UI, but It will be included in the data export.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
To achieve this, you can do this:
grid.messages['en']['sum'] = '{{value}}';
The Sum: value is part of the grid’s localization.Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
The Gantt exports all columns by default. If the Columns include the Start and End Date columns, they will be part of the data export.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
Even without the document fragment it loads very fast – https://codepen.io/jqwidgets/pen/PoMBdWr. I would suggest you to use dev tools or other dev utilities to measure what slows down your app.
Regards,
MarkovSmart UI team
https://www.htmlelements.com/adminKeymasterHi Tullio,
This is a common way to add a lot of content to a web page. This is the solution. There is not another.
Regards,
MarkovSmart UI team
https://www.htmlelements.com/adminKeymasterHi Tulio,
Yes, it is. You can read more about it here https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment
Regards,
MarkovSmart UI team
https://www.htmlelements.com/ -
AuthorPosts