@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
adminKeymaster
Hi,
From the Grid API docs(https://www.htmlelements.com/docs/grid-api): getSelectedRows – Gets the selected row ids. getSelection returns{ rows: Smart.Grid.Row[], columns: Smart.Grid.Column[], cells: Smart.Grid.Cell[], focused: {id: string, dataField: string} }. So getSelectedRows, if the selection is rows selectection(i.e you have a marked row(s) as selected) will return an array with row ids. getSelection is another method which is basically more general and will return either cells, columns or rows depending on the chosen selection mode of the Grid.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
Adding a property like virtualization=”true” which does not exist is actually normal to break the Kanban. The virtualization is automatic. Turns on when the Kanban is bound to large data set. Example with 10,000 tasks: Kanban with Large Data
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi Joko,
Could you share a codepen sample which shows the behavior which you experienced?
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
The ‘update’ method is for Tabs Window. I suggest you to do this: When you create a window, add a DIV tag with ID within it. Then with document.querySelector select that div tag and use either appendChild or innerHTML to update its content.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
To set position you can use CSS. For example: wnd.style.top = ‘100px’;
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
The provided code is invalid. To apply CSS you should use wnd.style.width = ‘400px’;
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
You can look at https://www.htmlelements.com/docs/grid/. The creation with document.createElement is described in the help article.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
The DataGrid’s ‘change’ event is raised when the selection is changed.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
const id = evt.detail.row.od should be const id = evt.detail.row.id.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi,
You can look at: https://www.htmlelements.com/demos/grid/row-details/. In addition, row details can be displayed in a dialog, too.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi Rafa,
Thanks for the code. We will need to add a new property to the form to disable validation when the form is created. That will be available in the next version so you will be able to enable/disable Form’s onload validation.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi Rafa,
They usually are not validated unless the validation is invoked from the API or during the user Input. Example: https://www.htmlelements.com/demos/form/template/
How do you use the Form component?Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/April 2, 2022 at 6:32 am in reply to: Declaring visible: true on `commandColumn` throws error in latest release #103043adminKeymasterHi Cher Toggy,
Unfortunately, we were unable to reproduce an issue with the reported steps. We have a demo with these settings online https://www.htmlelements.com/demos/grid/editing-command-column/. From the console log I see usage of docking layout and may be there’s something else. Could you share a codepen sample which shows an error on our side?
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterHi rarcher,
You can see the features in development on our roadmap page is: https://www.htmlelements.com/docs/roadmap/.
When we have a release we publish the release notes which include information about new features, improvements and bug fixes: https://www.htmlelements.com/docs/release-notes/Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/adminKeymasterSimply try C6: “2016-06-23T09:07:21-07:00” as a date string.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/ -
AuthorPosts