@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
adminKeymaster
Hi Ronak,
The demo is available in the download package, too. It uses a custom editor defined in a native HTMLTemplateElement defined in template tag. To use that approach HTMLTemplateElement should be outside of the Angular component. It is also possible to use Angular component within Grid column and this approach is described in this tutorial: https://www.htmlelements.com/docs/angular-component-grid-column/
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi davout,
resultCallbackFunction should be called when you want to call it based on your application’s needs. It is called by your code.
The DataGrid has ‘sort’ and ‘page’ events. The ‘sort’ and ‘page’ events are documented here: https://www.htmlelements.com/docs/grid-api/.
As we pointed in a previous communication with you. We suggest you to look at this help tutorial and its implementation.: https://www.htmlelements.com/docs/angular-rxjs/
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/September 15, 2020 at 7:22 am in reply to: Smart grid [selection] based selection problem when applying sorting #101066adminKeymasterHi davout,
Could you share a codepen or stackblitz example, which demonstrate your DataGrid application scenario?
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/September 15, 2020 at 7:19 am in reply to: anchor the grid column panel form on another location? #101065adminKeymasterHi davout,
No. The DataGrid’s API which you can use can be found on the following web page: https://www.htmlelements.com/docs/grid-api/.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/September 15, 2020 at 7:17 am in reply to: Bug with smart grid % height inside a smart splitter #101064adminKeymasterHi davout,
I would suggest you to check the correct hierarchy of HTML Elements on your page. Make sure that you do not put any attributes on your Splitter Panels, etc. Splitter and Splitter Panels should be used as shown in our docs and examples. Custom styles should be avoided as they may break the logic of the component. Could you please, share codepen example which demonstrates your web application scenario?
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi Ronak,
The demo you refer uses a custom template defined as HTMLTemplateElement. If you want to display dropdown, it is better to use this: https://www.htmlelements.com/angular/demos/grid/editing-cell-dropdowns/
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/September 14, 2020 at 12:49 pm in reply to: anchor the grid column panel form on another location? #101058adminKeymasterHi davout,
The DataGrid functionality you are looking for is not available. We will consider implementing additional options in future versions of the DataGrid component.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/September 14, 2020 at 10:35 am in reply to: Columns "cellsFormat' property – docs to explain options? #101056adminKeymasterHi davout,
The document explains the built-in formatting, which was your question – cellsFormat. For custom formatting with custom function, look at this example: https://www.htmlelements.com/demos/grid/overview/ which uses a custom format function.
Best regards,
Peter Stoev
jQWidgets Team
https://www.jqwidgets.com/September 14, 2020 at 10:03 am in reply to: Columns "cellsFormat' property – docs to explain options? #101054adminKeymasterHi davout,
About the DataGrid, we have detailed documentation about formatting available here: https://www.htmlelements.com/docs/grid-rows-columns/#formatting
Best regards,
Peter Stoev
jQWidgets Team
https://www.jqwidgets.com/adminKeymasterHi Ronak,
Checked and Selected are different. By using the “getSelection” DataGrid method will retrieve only the selected rows, if there are any.
Each data row in Smart.Grid has a “checked” boolean property. You can use it to determine whether a data row is “checked”.
Regards,
Peter
Smart HTML Elements
https://www.htmlelements.com/September 1, 2020 at 5:51 pm in reply to: Weird bug with use of 'smart-splitter-bar' component #101039adminKeymasterHi,
We would like to suggest you to look at the splitter examples, before trying to use it. The main issue in your scenario is that you should not even try to put a splitter bar because this is done by the splitter component automatically. The splitter bar is an utility component and is auto created and auto removed dynamically and its logic depends on the component which created it. If you create a splitter bar, then it will have not work.
Regards,
Peter
Smart UI Team
Htmlelements.comadminKeymasterHi Peter,
I can’t reproduce it in Codepen with your smart scripts. I have the scripts local, so it’s hard to make an example. Maybe I should try to update the framework, even though I thought that it was up to date. I’ll try.
The error only occurs with smart-text-box, not with smart-password-text-box.
Thank you and best regards,
GerhardadminKeymasterHi Gerhard,
This is very strange. Do you have an example which shows this kind of error?
Also, alternatively you can take a look at Smart.Input which is more simple version of the TextBox regarding the auto-complete and edit modes functionality of the component.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/August 31, 2020 at 6:47 am in reply to: How to add link with routerLink(Angular) in Grid column #101034adminKeymasterHi Ronak,
I would suggest the following:
1. Instead of the link to navigate to a page, make it to call a function.
2. In that function use the Angular Routing API to handle the click.
We have a help tutorial about using angular routing which might help you: https://www.htmlelements.com/docs/angular-routing-tabs/
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi,
Please, refer to: https://www.htmlelements.com/docs/angular-http-crud/
Hope it helps you.
Regards,
Peter
Smart UI Team
Htmlelements.com -
AuthorPosts