Description Usage Arguments Value Author(s) Examples
Constructs an object of class RTextFormattingDelegate, which
implements QItemDelegate for displaying text using the R
formatting engine. This allows table and tree widgets (and any other
widget that delegates to ItemDelegate) to correctly display
NA values and to display numbers using
the scipen and digits options.
1 | qrTextFormattingDelegate(parent = NULL)
|
parent |
The parent object, or |
An RTextFormattingDelegate object
Michael Lawrence
1 2 3 4 5 6 7 | data(mtcars)
model <- qdataFrameModel(mtcars)
view <- Qt$QTableView()
view$setModel(model)
delegate <- qrTextFormattingDelegate()
view$setItemDelegate(delegate)
view
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.