FR [ 2847295 ] MiniTable multiselection checkboxes not working
https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2847295&group_id=176962
This commit is contained in:
parent
7c20c391ac
commit
36bfe0bde4
|
@ -67,6 +67,8 @@ import org.compiere.util.Util;
|
||||||
* @author Teo Sarca, SC ARHIPAC SERVICE SRL
|
* @author Teo Sarca, SC ARHIPAC SERVICE SRL
|
||||||
* <li>BF [ 1891082 ] NPE on MiniTable when you hide some columns
|
* <li>BF [ 1891082 ] NPE on MiniTable when you hide some columns
|
||||||
* <li>FR [ 1974299 ] Add MiniTable.getSelectedKeys method
|
* <li>FR [ 1974299 ] Add MiniTable.getSelectedKeys method
|
||||||
|
* <li>FR [ 2847295 ] MiniTable multiselection checkboxes not working
|
||||||
|
* https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2847295&group_id=176962
|
||||||
*/
|
*/
|
||||||
public class MiniTable extends CTable implements IMiniTable
|
public class MiniTable extends CTable implements IMiniTable
|
||||||
{
|
{
|
||||||
|
@ -342,9 +344,14 @@ public class MiniTable extends CTable implements IMiniTable
|
||||||
{
|
{
|
||||||
tc.setCellRenderer(new IDColumnRenderer(m_multiSelection));
|
tc.setCellRenderer(new IDColumnRenderer(m_multiSelection));
|
||||||
if (m_multiSelection)
|
if (m_multiSelection)
|
||||||
|
{
|
||||||
tc.setCellEditor(new IDColumnEditor());
|
tc.setCellEditor(new IDColumnEditor());
|
||||||
|
setColumnReadOnly(index, false);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
tc.setCellEditor(new ROCellEditor());
|
tc.setCellEditor(new ROCellEditor());
|
||||||
|
}
|
||||||
m_minWidth.add(new Integer(10));
|
m_minWidth.add(new Integer(10));
|
||||||
tc.setMaxWidth(20);
|
tc.setMaxWidth(20);
|
||||||
tc.setPreferredWidth(20);
|
tc.setPreferredWidth(20);
|
||||||
|
|
Loading…
Reference in New Issue