@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
admin
KeymasterHi,
Thank you for the feedback!
We are aware of the reported behavior. This display mode cannot be used with server-side-crud in the current version of the DataGrid component. This will be updated in the next release.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
We have prepared a help topic about that: https://www.htmlelements.com/docs/grid-localization/. Could you provide steps to reproduce the reported issue as we are interested in handling that scenario 🙂
Thanks for the feedback!
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
The issue in the provided code is that the Grid’s binding is to a json which does not reflect to the columns definitions. For example, you have a column like label: ‘Campo testo 2’, dataField: ‘C2’, but your data source does not have a ‘C2’ key.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi tulio,
I meant that the codepen provided is invalid because nothing is seen in it. The issue is that the editor is not implemented as in the sample I referred to and that the data source is invalid. While the sample binds to beverages.json, your columns do not and the Grid is empty without any data loaded. It looks like that you want to use the grid in unbound mode as a spreadsheet and add dropdownlist editor to it. Is that right?
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
Unfortunately, the provided example is not working. There is no Grid on it.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
I cannot see a grid in the provided example.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
We are unable to reproduce this. Could you share an example?
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/March 4, 2022 at 8:19 am in reply to: Integrate admin templates with codeigniter application #102930admin
KeymasterHi
The JS files should be configured in the routing as well. Each page has different dependencies and the configuration should be set there.
Example:
{ path: '/dashboard-2', template: './dashboard-2/template.htm', styleUrls: ['./dashboard-2/styles.css'], scriptUrls: [ '../../../smart/source/modules/smart.calendar.js', './dashboard-2/index.js' ], title: 'Dashboard 2 - ' + defaultTitle }
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/March 3, 2022 at 7:36 am in reply to: Integrate admin templates with codeigniter application #102928admin
KeymasterHi,
In the folder of an admin template, there is a file called ‘routing.js’ and a setupRouting function inside it. There you can define the routes to the different page. To learn how to define a page, you can look at some of the folders in the admin template like: “detail”. It has 4 files inside it – index.htm, template.htm, styles.css and index.js. The index.js defines scripts after the page is loaded, styles.css defines page-specific styles, index.htm defines the page’s title, template.htm defines the page’s content.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi johnm,
Could you share a github project link which will allow us to test the reported behavior? Without being able to test it, the provided information is not sufficient for reproducing this.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
Please, subscribe to our newsletter to get notifications about the new versions. A new version will be released this month.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
You can share a codepen example – https://codepen.io/
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
You can share an example with a link to codepen. From the provided information, I think that the column with datepicker is not a ‘date’ column, but is a ‘string’ column.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
The reported behavior is confirmed and will be resolved in the next release.
Thank you for the feedback!
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
The editor should be set like that:
{ label: 'Order Date', width: 250, dataField: 'date', cellsFormat: 'dd-MM-yyyy', editor: { template: 'dateTimePicker', formatString: 'dd-MM-yyyy', onInit(index, dataField, editor) { } } },
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/ -
AuthorPosts