October 19, 2021 at 6:40 pm #102435MarkMParticipant
I have a smart data grid where I have editing setup as row and dialogue modes both enabled.
I found where I can specify custom editor templates for specific columns but am having trouble getting one setup to use a smart-multiline-text-box control (I want to have it already expanded with plenty of space for larger content, and with custom placeholder text shown when it is empty).
I also would like to be able to add some additional explanatory text in the dialogue box, and hide some columns that are not to be edited. Can you point me in the right direction for the best way to do this?
Thanks!October 20, 2021 at 7:02 am #102443adminKeymaster
For multiline text edit, we have a special built-in textarea editor. You can check it out here: TextArea Editor in Smart Grid. (htmlelements.com)
As for a custom edit dialog – we do not have such API at present. We will add a work item which allows such customization in the next release of Smart.Grid component.
Smart UI Team
https://www.htmlelements.com/October 20, 2021 at 1:10 pm #102445MarkMParticipant
Thanks for the response.
I had seen the built-in multiline editor, but we wanted to have it already expanded by default and use considerably more space. Each row in our grid represents a record where we want to then be able to edit additional information for that record, some of which can be lengthy. Are there additional configuration properties for the built-in text area?
Starting to think we may need to use a different approach for editing the records outside of the grid, and then just updating the grid datasource object when finished. Is there a way in the API to setup callbacks or hooks somehow to use the built-in edit & add new row buttons to initiate this?
October 21, 2021 at 3:14 pm #102459adminKeymaster
- This reply was modified 7 months ago by MarkM.
Smart UI Team
- You must be logged in to reply to this topic.