All Projects → kaiyangjia → EasyForm-Android

kaiyangjia / EasyForm-Android

Licence: GPL-3.0 license
该项目是一个android端用于生成复杂表格的库。可以用来做像Excel表格那样的UI界面。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to EasyForm-Android

BulkPDF
BulkPDF is a free and easy to use open source software, which allows to automatically fill an existing PDF form with differen values. Only a spreadsheet (Microsoft Excel 2007/2010/2013, LibreOffice or OpenOffice Calc) with the desired values is required.
Stars: ✭ 94 (+452.94%)
Mutual labels:  excel, form
cypress-upload-file-post-form
Solution for two Cypress testing use-cases I came across with: perform a direct http FORM request to the server containing a file and other parameters and upload a file into a form before submission
Stars: ✭ 59 (+247.06%)
Mutual labels:  excel, form
SwiftyExcelView
A View Look Like Excel & Form
Stars: ✭ 45 (+164.71%)
Mutual labels:  excel, form
VBA-Import-Export
Export & Import VBA code for use with Git (or any VCS)
Stars: ✭ 14 (-17.65%)
Mutual labels:  excel
robotframework-excel
Robot-framework auto-test excel
Stars: ✭ 15 (-11.76%)
Mutual labels:  excel
dynamic-input-fields-reactjs
Example of the dynamic input fields in ReactJS
Stars: ✭ 31 (+82.35%)
Mutual labels:  form
EPPlus.DataExtractor
EPPlus extension that make easier to extract POCO from excel tables
Stars: ✭ 65 (+282.35%)
Mutual labels:  excel
Samples-ASP.NET-MVC-CSharp
ASP.NET MVC C# samples for Stimulsoft Reports.Web reporting tool.
Stars: ✭ 31 (+82.35%)
Mutual labels:  excel
Power-Refresh-VBScript
Visual Basic Script Refresher for Excel files with Power Query and PowerPivot model
Stars: ✭ 18 (+5.88%)
Mutual labels:  excel
vue-form-2
Vue.js 2 Form Component
Stars: ✭ 60 (+252.94%)
Mutual labels:  form
grapesjs-plugin-forms
Set of form components and blocks for the GrapesJS editor
Stars: ✭ 39 (+129.41%)
Mutual labels:  form
stook
A minimalist design state management library for React.
Stars: ✭ 86 (+405.88%)
Mutual labels:  form
python-for-excel
This is the companion repo of the O'Reilly book "Python for Excel".
Stars: ✭ 253 (+1388.24%)
Mutual labels:  excel
vue-auto-form
A vue2 component that helpers to easily create basic forms with automatic insert and update events, and automatic reactive validation.
Stars: ✭ 39 (+129.41%)
Mutual labels:  form
Rails-4-ElasticSearch-dynamic-facets
Rails 4 ElasticSearch integration with dynamic facets
Stars: ✭ 16 (-5.88%)
Mutual labels:  form
react-html-form
Friendly form library for React ✌️
Stars: ✭ 58 (+241.18%)
Mutual labels:  form
vue-willtable
An editable table component for Vue.js 2.0
Stars: ✭ 119 (+600%)
Mutual labels:  excel
npoi
a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
Stars: ✭ 4,493 (+26329.41%)
Mutual labels:  excel
jquery.niceform
The jQuery plugin for validation and post form data to server
Stars: ✭ 16 (-5.88%)
Mutual labels:  form
form-create-designer
好用的vue可视化表单设计器
Stars: ✭ 634 (+3629.41%)
Mutual labels:  form

项目简介

该项目是一个android端用于生成复杂表格的库。可以用来做像Excel表格那样的UI界面。 联系方式: [email protected]

事先声明

本人明白该项目的UI组件完全不符合android的设计规范,甚至都不符合移动端的设计。 但是客户会经常提出这种无理的需求,所以作为开发者的我们也就只好硬着头皮实现了。

该项目目前还处于不稳定版本,建议不要在正式项目中使用

使用须知

  1. 该项目依赖lombok项目,在使用之前确保Android Studio上已经安装有 Lombok 插件(插件地址:lombok-intellij-plugin lombok的版本使用12 或者 16 时会有编译错误,请保持当前的lombok版本
  2. 自定义item布局时,填充文字的view中必须包含有id为ef_item_text 的TextView的控件;填充图片的view中必须包含id为ef_item_image的imageView的控件。
  3. 在使用前请先阅读doc目录下的文档了解该项目.

Import

  1. 在 Android Studio 中(Gradle):

in your build.gradle(JCenter):

compile 'com.jiakaiyang:easyform-android:0.9.3'
  1. 在 Eclipse中:

drunk

Useage

  1. 在布局文件中使用如下配置:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:jky="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    app:layout_behavior="@string/appbar_scrolling_view_behavior"
    tools:context=".MainActivity"
    tools:showIn="@layout/activity_main">
        <com.jiakaiyang.library.easyform.view.EFFormView
            android:id="@+id/ef_form"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            jky:formTitleNames="title1,title2,title3,title4"
            jky:frameWidth="1dp"
            jky:frameColor="@android:color/darker_gray"
            jky:dividerWidth="1dp"
            jky:dividerColor="@android:color/darker_gray"
            jky:itemWidth="30dp"
            jky:itemHeight="40dp"
            jky:itemGravity="center"
            jky:formItemTextColor="#666666"
            jky:rowCount="4"
            jky:columnCount="4" >
    
        </com.jiakaiyang.library.easyform.view.EFFormView>
</RelativeLayout>
  1. 在Activity的代码中:
final EFFormView formView = (EFFormView) findViewById(R.id.ef_form);

        List<Map<String, Object>> data = new ArrayList<>();
        for(int i=0;i<12;i++){
            Map map = new HashMap();
            map.put(Constant.KEY.KEY_DATA, i + "--");
            data.add(map);
        }
        formView.setData(data);
        formView.fillForm();
        //设置每一条点击变色
        formView.setRowClickChange();
        //设置第一行不可点击,用于设置表头
        formView.setRowClickable(0, false);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].