@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
admin
KeymasterHi,
Smart.Kanban uses templates, not standard
<slot>elements.You can define custom rendering via the template property (or column/task templates), which gives you full control over how cards look.
Example: Custom card template
kanban.taskTemplate = function (task) { return${task.text}
Owner: ${task.userId || ‘Unassigned’}
Priority: ${task.priority || ‘Normal’}
`;
};`Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
Inline task editing is supported in Smart Gantt.
Enable editing
<smart-gantt-chart editable></smart-gantt-chart>What works out of the box
Task name → can be edited (usually via double-click)
Start/end dates → editable by dragging or resizing the task bar
Progress → adjustable via dragThis means users can modify tasks directly in the chart without an external form.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
No, the component is client-side only.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
You can use the native Javascript addEventListener method and bind to the ‘change’ event.
el.addEventListener('change', (event) => { // your code here });Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
You can do this:
const editor = document.querySelector(‘smart-editor’);
let timeout; editor.addEventListener('change', () => { clearTimeout(timeout); // debounce (wait 1s after user stops typing) timeout = setTimeout(() => { const content = editor.getValue(); // save somewhere (API or localStorage) saveContent(content); }, 1000); }); function saveContent(data) { console.log('Autosaving...', data); // Example: send to backend // fetch('/save', { // method: 'POST', // body: JSON.stringify({ content: data }) // }); }Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
Yes, it is possible.
seriesGroups: [ { type: 'column', // bars series: [ { dataField: 'sales', displayText: 'Sales' } ] }, { type: 'line', // line series: [ { dataField: 'trend', displayText: 'Trend' } ] } ]Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
No, the Grid is a client-side only UI component.
Regards,
Markovadmin
KeymasterHi,
The reported behavior could not be reproduced. Please, provide steps to reproduce and a link to a codepen example(if possible)
Regards,
Markovadmin
KeymasterHi,
Please, look at https://www.htmlelements.com/docs/css-variables/
Hope this helps.
Best regards,
Markovadmin
KeymasterHi,
Please, find an example below which shows the approach with React
// React Router + Smart.Scheduler state persistence example import { useEffect, useRef } from "react"; import { useNavigate, useLocation } from "react-router-dom"; import "smart-webcomponents-react/source/styles/smart.default.css"; import { Scheduler } from "smart-webcomponents-react/scheduler"; export default function SchedulerPage() { const schedulerRef = useRef(null); const navigate = useNavigate(); const location = useLocation(); // Restore state on load useEffect(() => { const scheduler = schedulerRef.current; const params = new URLSearchParams(location.search); if (params.get("view")) { scheduler.view = params.get("view"); } if (params.get("date")) { scheduler.date = new Date(params.get("date")); } }, []); // Save state before navigation const goAway = () => { const scheduler = schedulerRef.current; const params = new URLSearchParams({ view: scheduler.view, date: scheduler.date.toISOString() }); navigate(<code>/other-page?${params.toString()}</code>); }; return ( <> <Scheduler ref={schedulerRef} /> <button onClick={goAway}>Navigate</button> </> ); }Regards,
PeterApril 6, 2026 at 8:21 pm in reply to: Any experienced developers here who can help with: Scheduler? #113441admin
KeymasterHi,
https://www.htmlelements.com/docs/scheduler/ – please look at this help tutorial. It shows how to get started with our Scheduler component.
Regards,
MarkovApril 6, 2026 at 8:21 pm in reply to: Trying to get consistent results from: Scheduler. Any advice? #113440admin
KeymasterHi,
https://www.htmlelements.com/docs/scheduler/ – please look at this help tutorial. It shows how to get started with our Scheduler component.
Regards,
Markovadmin
KeymasterHi,
Please, refer to https://www.htmlelements.com/docs/chart/ it shows how to data bind it.
Regards,
Markovadmin
KeymasterHi,
Unless you enable custom resizing, the resizing is disabled by default. The editor’s size depends on its CSS width and height properties.
Regards,
Markovadmin
KeymasterHi,
https://www.htmlelements.com/demos/editor/auto-save/ – this demo shows how to enable auto save in the Editor.
Regards,
Markov -
AuthorPosts