Skip to content

Commit

Permalink
Misc fixes in README
Browse files Browse the repository at this point in the history
  • Loading branch information
nirgal committed Dec 18, 2014
1 parent e043410 commit b805191
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ prev version: [http://xgcal.sinaapp.com/demo/](http://xgcal.sinaapp.com/demo/

* Day/week/month view provided.
* Support the definition of the start date of the week
* get and update data by ajax
* create/update/remove events by drag & drop
* qucik delete
* quick update by drag/drop
* update event by Resize
* rigth control
* theme
* Get and update data by ajax
* Create/update/remove events by drag & drop
* Quick delete
* Quick update by drag/drop
* Update event by Resize
* Permission control
* Theme
* Good performance
* i18n
* support IE6+,FireFox3?.5+,Opera 10+,Chrome 3+
* I18n
* Support IE6+,FireFox3?.5+,Opera 10+,Chrome 3+


## Usage
Expand Down Expand Up @@ -67,27 +67,27 @@ javascript :

## Options
- `view`: default view type `day`,`week`,`month`
- `weekstartday`: First day of week,0 for sunday,`[0-6]` ,default value is `1`
- `theme`: default color style, `[0-21]`,default value is `0`
- `weekstartday`: First day of week, 0 for sunday, `[0-6]`, default value is `1`
- `theme`: default color style, `[0-21]`, default value is `0`
- `height`: set calendar view height,or it will be set document.body.Height
- `url`: **require** load data url
- `eventItems`: events data,it a array,you can use it to init events data;
- `method`: request mode,default value `post`
- `showday`: show date,default value `new Date()`
- `onBeforeRequestData`: event on before request data,include `load`,`add`,`update`,`delete`
- `eventItems`: events data, it an array, you can use it to init events data
- `method`: request mode, default value `post`
- `showday`: show date, default value `new Date()`
- `onBeforeRequestData`: event on before request data, include `load`, `add`, `update`, `delete`
- `onAfterRequestData`: event on after request data,
- `onRequestDataError`: event on error occurs
- `onWeekOrMonthToDay`: when weekview or month switch to dayview
- `quickAddHandler`: quickadd cus handler
- `quickAddUrl`: url for quick add event data by ajax request(post)
- `quickUpdateUrl`: url for quick update event data by ajax request(post)
- `quickDeleteUrl`: url for quick delete event data by ajax request(post)
- `autoload`: if set to `true` , auto load event datas after initialization
- `readonly`: if set to `true` ,control will be readonly,
- `autoload`: if set to `true`, auto load event datas after initialization
- `readonly`: if set to `true`, control will be readonly,
- `extParam`: other params what will be post to sever side when add,update
- `enableDrag`:
- `timeFormat`:default value:`HH:mm`, t is a PM/AM switch,h 12 hours,H 24hours,m
- `tgtimeFormat`:"HH:mm"
- `timeFormat`:default value:`HH:mm`, t is a PM/AM switch, h 12 hours,H 24hours, m
- `tgtimeFormat`: "HH:mm"

## Data format

Expand Down Expand Up @@ -127,17 +127,17 @@ All methods can be call like `$("#calendarid").functionName(params) `
`events`: data format is same to `eventItems`.
`issort`: Whether sorted,should be true.
`start` and `end`:current view date range, json date format.
`error`:object, format:`{ErrorCode:””,ErrorMsg:””}` ,handler by `onRequestDataError`
`error`:object, format:`{ErrorCode:””,ErrorMsg:””}` ,handler by `onRequestDataError`.

####Updating Params
**request data sample**
>calendarId=98&CalendarStartTime=2013-1-2+00%3A00&CalendarEndTime=2013-1-2+00%3A00&timezone=8
时间的数据格式由你的多语言配置决定
Date and time is formated according to your multi-language configuration choice.
**response data sample**
> {"IsSuccess":true,"Msg":""}



##FAQ
to complete
to complete

0 comments on commit b805191

Please sign in to comment.