|
|
|
@ -28,7 +28,7 @@ import com.fr.grid.selection.FloatSelection;
|
|
|
|
|
import com.fr.grid.selection.Selection; |
|
|
|
|
import com.fr.report.ReportHelper; |
|
|
|
|
import com.fr.report.cell.CellElement; |
|
|
|
|
import com.fr.report.cell.DefaultTemplateCellElement; |
|
|
|
|
import com.fr.report.cell.DefaultPredefinedTemplateCellElement; |
|
|
|
|
import com.fr.report.cell.FloatElement; |
|
|
|
|
import com.fr.report.cell.TemplateCellElement; |
|
|
|
|
import com.fr.report.cell.cellattr.CellGUIAttr; |
|
|
|
@ -865,7 +865,7 @@ public class Grid extends BaseGridComponent {
|
|
|
|
|
} |
|
|
|
|
// 必须保证editingCellElement不是null。
|
|
|
|
|
if (editingCellElement == null) { |
|
|
|
|
editingCellElement = new DefaultTemplateCellElement(column, row); |
|
|
|
|
editingCellElement = new DefaultPredefinedTemplateCellElement(column, row); |
|
|
|
|
} |
|
|
|
|
editorComponent = getCellEditingComp(); |
|
|
|
|
if (editorComponent == null) { |
|
|
|
@ -1029,7 +1029,7 @@ public class Grid extends BaseGridComponent {
|
|
|
|
|
} |
|
|
|
|
// 必须保证editingCellElement不是null。
|
|
|
|
|
if (editingCellElement == null) { |
|
|
|
|
editingCellElement = new DefaultTemplateCellElement(editingColumn, editingRow); |
|
|
|
|
editingCellElement = new DefaultPredefinedTemplateCellElement(editingColumn, editingRow); |
|
|
|
|
tplEC.addCellElement(editingCellElement); |
|
|
|
|
} |
|
|
|
|
if (setValue4EditingElement(newValue)) { |
|
|
|
@ -1455,4 +1455,4 @@ public class Grid extends BaseGridComponent {
|
|
|
|
|
this.paginateLineShowType = paginateLineShowType; |
|
|
|
|
this.getElementCasePane().repaint(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|