Hi all,

When I create a table and use it with RbooleanCellWidget, the style of this checkbox in 2 cases disable and enable is same. I tried to change the enable attribute in properties but this is not success. How to change the style of checkbox in this case?

asked 05.08.2014 at 12:17

rootdn's gravatar image

rootdn
(suspended)
accept rate: 0%

edited 07.08.2014 at 06:54


Class RBooleanCellWidget extends RCheckBox , implements ITableCellRenderer, ITableCellEditor, IActionListener.

A cell in RTable has Editable attribute, but don't have Disable attribute. It does not copy Editable value to Disabled attribute of its supper class, RCheckBox.

In my opinion, if you want CheckBox cell has Disable style when it is NOT editable , you can extend the class RBooleanCellWidget.

link

answered 13.08.2014 at 11:13

Anh%20Pham's gravatar image

Anh Pham
(suspended)
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×40

Asked: 05.08.2014 at 12:17

Seen: 2,630 times

Last updated: 13.08.2014 at 11:13