JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › grid cell notes
- This topic has 4 replies, 2 voices, and was last updated 1 year, 1 month ago by edwardsmarkff.
-
AuthorPosts
-
October 1, 2023 at 4:34 pm #108850edwardsmarkffParticipant
hello – i started researching possibilities to include notes with cells.
most other grid tools include notes; here is google-sheets cell notes:
————————————————————————–
———————————————————————–
and here is libra-office sheets:
———————————————————————–
—————————————————————————-
from research, there appears to be three possible codepen approaches to include notes with smart-html-elements-grid:
- w3 schools solution (i dislike w3-schools but this solution does work the best)
- using ordinary title (no styling possible but linebreaks work)
- Bobby Hadz solution (best styling but linebreaks don’t work)
Bobby Hadz solution may be the best if (big IF) i can get the linebreaks to work. i have contacted him to see if he could give any suggestions (or perhaps even update his example)
hopefully smart-html-elements-grid will eventually include cell notes since they are so useful, and from what i can tell from my research, it would be relatively straightforward to add them.
what does everybody think about this?
- This topic was modified 1 year, 1 month ago by edwardsmarkff.
- This topic was modified 1 year, 1 month ago by edwardsmarkff.
- This topic was modified 1 year, 1 month ago by edwardsmarkff.
- This topic was modified 1 year, 1 month ago by edwardsmarkff.
October 3, 2023 at 4:53 am #108864edwardsmarkffParticipantthis looks like the best way so far:
https://codepen.io/edwardsmarkf/pen/xxmzozV
this makes use of bobby hadz’s title attribute styling.
i am sure there is a MUCH better way to style the cells that contain a note.
hopefully, smart-html-elements will add notes to grid cells….?
- This reply was modified 1 year, 1 month ago by edwardsmarkff.
- This reply was modified 1 year, 1 month ago by edwardsmarkff.
October 8, 2023 at 4:42 pm #108903edwardsmarkffParticipantwith a bit of a hack i think this will work:
https://www.htmlelements.com/forums/topic/grid-cell-notes/
hopefully, smart-html-elements will eventually add notes to grid cells….?
October 9, 2023 at 5:37 am #108906svetoslav_borislavovParticipantHi,
Thank you for sharing your experience, if you have any questions, do not hesitate to contact us!
Best Regards,
Svetoslav BorislavovSmart UI Team
https://www.htmlelements.com/October 9, 2023 at 6:14 pm #108909edwardsmarkffParticipanti would REALLY appreciate learning if perhaps ‘cell-notes’ might one day be supported?
and if not, would it be OK if i took a look at the source code & tried to figure out a better way to do this?
cell-notes are VERY useful and as you can see from my prototype, it would be relatively to add this feature to grid.
- This reply was modified 1 year, 1 month ago by edwardsmarkff.
-
AuthorPosts
- You must be logged in to reply to this topic.