Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

109
Views
Want to know if I can have read more hyperlink to show remaining text for columns within datatable in R

There are columns with names in it. I just want to have only 3 words and after that there should be Read more... hyperlink which will show remaining text

library(shiny)
    library(DT)
    
    shinyApp(
      ui = fluidPage(
        DT::dataTableOutput("table")
      ),
      server = function(input, output) {
        
        output$table <- DT::renderDataTable({
          DT::datatable(iris, rownames = FALSE,
                        options = list(rowCallback = JS(
                          "function(row, data) {",
                          "var full_text = 'This rows values are :' + data[0] + ',' + data[1] + '...'",
                          "$('td', row).attr('title', full_text);",
                          "}")))
        })
      }
    )
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!