JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid extracting and manipulating cell html

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #109023
    edwardsmarkff
    Participant

     

    hello – earlier i asked this question. but what is required is to be able to access and manipulate the cell HTML.  i need to be able to do
    cell.appendChild()
    and various other steps.

    so i created this simple example as an example of a way to accomplish this.

    it would be very useful if a future release of smart-elements grid contained a new method something like grid.cellElement(rowId, columnName)

    please let me know if there is a better way of achieving this.

    .

    • This topic was modified 11 months, 2 weeks ago by edwardsmarkff.
    • This topic was modified 11 months, 2 weeks ago by edwardsmarkff.
    #109028
    Markov
    Keymaster

    Hi,

    You can apply html to cells by using the column formatFunctipn callback or template callback – https://www.htmlelements.com/demos/grid/column-dynamic-template-with-components/

    Regards
    Markov

    #109046
    edwardsmarkff
    Participant

    i am reposting this question here since using template appears to be inconsistent.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.