I have some calculating fields in a datatable, is there a way I can make some columns editable and some fixed?
            Asked
            
        
        
            Active
            
        
            Viewed 416 times
        
    -1
            
            
        - 
                    Possible duplicate of [R Shiny: Editing DT with locked columns](https://stackoverflow.com/questions/55690492/r-shiny-editing-dt-with-locked-columns) – Wil May 07 '19 at 19:55
2 Answers
1
            
            
        If I right undestand you. You can use contenteditable="true" attribut for div. You can find more info here. 
 
    
    
        Timofey Goncharov
        
- 1,023
- 1
- 6
- 14
0
            
            
        Using library(DT) you can specify columns as such:
render_dt(dt1, editable = list(target = 'row', disable = list(columns = c(2, 4, 5)))
Learn more about library(DT) here and play with some Shiny examples here (Table 10 at the bottom shows the selective edit functionality).
 
    
    
        tomasu
        
- 1,388
- 9
- 11
