We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
final FormTableData<Form> tableData = FormTableData.create(table,data.getFormName(),data.getFillData().get(1).size()-data.getDepth(),forms); //表格的点击事件监听器。当用户点击表格中的单元格时,会触发相应的操作。在这里,如果被点击的单元格不为空,则会显示软键盘。 tableData.setOnItemClickListener(new TableData.OnItemClickListener<Form>() { @Override public void onClick(Column column, String value, Form form, int col, int row) { if (value != null) { showToast("点击了"+value); } } }); int size = 1; for (Column column : tableData.getColumns()) { column.setColumnName(String.valueOf(size)); column.setId(size); if (size<=data.getDepth()){ column.setAutoCount(true); column.setMaxMergeCount(4); column.setAutoMerge(true); column.setFixed(true); } size++; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: