JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid how to get column value on mount state(not composition API)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #101427
    dusrkdldlr
    Member

    Is there a way to get the value of the column from the mount function?
    I want to bring up a window with the state of the row when the button column is pressed.
    There was an example in jqwidgets, can you provide an example of the smart ui version?

    #101430
    admin
    Keymaster

    Hi,
    Could you please explain what do you mean by a column value ? Is that the column data field or a label or it is a cell value. Which DataGrid do you use ( DataGrid for Web Components, DataGrid for React, DataGrid for Angular? Please, provide more details.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #101431
    dusrkdldlr
    Member

    hello I use vue, and column value mean cell value…
     

    #101438
    yavordashew
    Member

    Hi dusrkdldlr,
    If you want to display the state ‘row’ I think the best solution will be to use the rowDetail’ property.
    I have prepared a little code snippet for you on how to set it:

      rowDetail:{
                      enabled:true,
                      visible:true,
                      dialog:{
                        enabled:true
                      },
                       template: <code><h5> {{Your Datafiield Name}} {{{An other Datafiield Name}} </h5></code>//you can use the template to customise it
                    },

    With the code above you this will open a window with the details of the ‘row’.
    Also a demo for the ‘rowDetail’ property :
    https://www.htmlelements.com/vue/demos/grid/row-details/
    Please, do not hesitate to contact us if you have any additional questions.
    Best regards,
    Yavor Dashev
    Smart UI Team
    https://www.htmlelements.com/

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