jquery+easyuiÅàѵÎĵµ ÏÂÔØ±¾ÎÄ

jquery easyuiÖÐÎÄÅàѵÎĵµ

loadMsg pagination rownumbers singleSelect fit pageNumber pageSize pageList queryParams sortName sortOrder editors ×Ö·û´® ²¼¶û ²¼¶û ²¼¶û ²¼¶û Êý×Ö Êý×Ö Êý×é ¶ÔÏó ×Ö·û´® ×Ö·û´® ¶ÔÏó µ±Ô¶³Ì¼ÓÔØÊý¾Ýʱ£¬ÏÖʵµÄµÈ´ýÐÅÏ¢Ìáʾ ÊÇ·ñÏÔʾµ×²¿·ÖÒ³¹¤¾ßÀ¸ ÊÇ·ñÏÔʾÐкÅÁÐ ÊÇ·ñÔÊÐíֻѡÔñÒ»ÐÐ ÊÇ·ñÔÊÐí±í¸ñ×Ô¶¯Ëõ·Å£¬ÒÔÊÊÓ¦¸¸ÈÝÆ÷ ³õʼ»¯Ò³Âë ³õʼ»¯Ò³Ãæ´óС ³õʼ»¯Ò³Ãæ´óСѡÔñÇåµ¥ µ±ÇëÇóÔ¶³ÌÊý¾Ýʱ£¬·¢Ë͵ĶîÍâµÄ²ÎÊý ¶¨ÒåÄÄÒ»ÁпÉÒÔÅÅÐò ¶¨ÒåÁÐÅÅÐòµÄ·½Ê½£¬µÝÔö£¨asc£©»òµÝ¼õ£¨desc£© ¶¨Òåµ±±à¼­Ä³ÐÐÊý¾ÝʱµÄ±à¼­Æ÷ Processing, wait ¡­ false false false false 1 10 please [10,20,30,40,50] {} null asc predefined editors 14.3 Column²ÎÊý

Name title Type ×Ö·û´® ×Ö·û´® Êý×Ö Êý×Ö Êý×Ö ×Ö·û´® ²¼¶û ²¼¶û º¯Êý Description ÁбêÌâÎÄ×Ö Default undefined field width rowspan colspan align sortable checkbox formatter ÁÐ×Ö¶ÎÃû³Æ Áпí¶È ¸ÃÁÐÕ¼¼¸Ðе¥Ôª¸ñ ¸ÃÁÐÕ¼¼¸Áе¥Ôª¸ñ Êý¾Ý¶ÔÆä·½Ê½£¬¿ÉѡֵÓÐleft,right,center ÊÇ·ñÔÊÐí¸ÃÁÐÅÅÐò ÊÇ·ñÏÔʾѡÔñ¿ò °üº¬Èý¸ö²ÎÊý£º undefined undefined undefined undefined undefined undefined undefined undefined 45

jquery easyuiÖÐÎÄÅàѵÎĵµ

value: the field value. rowData: the row record data rowIndex: the row index. Indicate the edit type. When string indicates the edit type, when object contains two properties: type: string, the edit type, possible type is: text,textarea,checkbox,numberbox,validatebox,datebox,combobox,combotree. options: object, the editor options corresponding to the edit type. editor string,object undefined 14.4 ʼþ

Name onLoadSuccess onLoadError onBeforeLoad Parameters data none data Description Ô¶³ÌÊý¾Ý¼ÓÔØ³É¹¦Ê±´¥·¢ Ô¶³ÌÊý¾Ý¼ÓÔØÊ§°Üʱ´¥·¢ ÇëÇó·¢³öÈ¥£¬¼ÓÔØÊý¾Ýǰ´¥·¢¡£Èç¹û·µ»Øfalse£¬¼ÓÔØÊý¾Ý¶¯×÷ÔòÍ˳ö µ±Óû§µã»÷ijÐÐʱ´¥·¢, the parameters contains: rowIndex: the clicked row index, start with 0 rowData: the record corresponding to the clicked row µ±Óû§Ë«»÷ijÐÐʱ´¥·¢, the parameters contains: rowIndex: the clicked row index, start with 0 rowData: the record corresponding to the clicked row µ±Óû§ÅÅÐòijÁÐʱ´¥·¢, the parameters contains: sort: the sort column field name order: the sort column order µ±Óû§Ñ¡ÔñijÐÐʱ´¥·¢, the parameters contains: rowIndex: the selected row index, start with 0 rowData: the record corresponding to the selected row µ±Óû§È¡ÏûÑ¡ÔñijÐÐʱ´¥·¢, the parameters contains: rowIndex: the unselected row index, start with 0 rowData: the record corresponding to the unselected row 46

onClickRow rowIndex, rowData onDblClickRow rowIndex, rowData onSortColumn sort, order onSelect rowIndex, rowData onUnselect rowIndex, rowData jquery easyuiÖÐÎÄÅàѵÎĵµ

onBeforeEdit rowIndex, rowData µ±Óû§¿ªÊ¼±à¼­Ä³ÐÐʱ´¥·¢, the parameters contains: rowIndex: the editing row index, start with 0 rowData: the record corresponding to the editing row µ±Óû§Íê³É±à¼­Ä³ÐÐʱ´¥·¢, the parameters contains: rowIndex: the editing row index, start with 0 rowData: the record corresponding to the editing row changes: the changed field/value pairs µ±Óû§Í˳ö±à¼­Ä³ÐÐʱ´¥·¢, the parameters contains: rowIndex: the editing row index, start with 0 rowData: the record corresponding to the editing row onAfterEdit rowIndex, rowData, changes onCancelEdit rowIndex, rowData 14.5 ·½·¨

Name options getPager resize reload fixColumnSize loadData getData getRows getSelected getSelections clearSelections selectAll selectRow selectRecord Parameter none none none param none param none none none none none none index idValue Description ·µ»ØËùÓвÎÊýµÄ¶ÔÏó ·µ»Ø·ÖÒ³¶ÔÏó µ÷Õû±í¸ñ´óС ÖØÐ¼ÓÔØÐÐ ¹Ì¶¨ÁеĴóС ¼ÓÔØ±¾µØÊý¾Ý£¬¾ÉÐн«±»É¾³ý ·µ»ØÒѼÓÔØµÄÊý¾Ý ·µ»Øµ±Ç°Ò³µÄÐÐÊý ·µ»ØµÚÒ»´ÎÑ¡ÔñµÄÐмǼ ·µ»ØËùÓÐÑ¡¶¨ÐУ¬Èç¹ûûѡÔñ¼Ç¼£¬Ôò·µ»Ø¿ÕÊý×é È¡ÏûËùÓÐÑ¡Ôñ Ñ¡Ôñµ±Ç°Ò³ËùÓÐÐÐ Ñ¡ÔñijÐУ¬ÐÐË÷ÒýÒÔ0¿ªÊ¼ ͨ¹ýidֵѡÔñÒ»ÐÐ 47

jquery easyuiÖÐÎÄÅàѵÎĵµ

unselectRow beginEdit endEdit cancelEdit refreshRow appendRow deleteRow index index index index index row index È¡ÏûÑ¡ÔñijÐÐ ¿ªÊ¼±à¼­Ä³ÐÐ ½áÊø±à¼­Ä³ÐÐ Í˳ö±à¼­Ä³ÐРˢÐÂÒ»ÐеÄÊý¾Ý Ìí¼ÓÐÂÐРɾ³ýÒ»ÐÐ »ñµÃ¸Ä±äÐÐÒÔÀ´×îºó·¸¡£ÀàÐͲÎÊý±íÃ÷ÄĸöÀàÐ͸ıäÐУ¬¿ÉÄÜÖµ:²åÈ룬ɾ³ý£¬Ê¹¡£¡£¡£ÏÖ´ú»¯£¬µÈµÈ¡£µ±ÀàÐͲÎÊý²»ÊÇ·ÖÅ䣬·µ»ØËùÓиıäÐС£ Commits all the changes data since it was loaded or since the last time acceptChanges was called. »Ø¹öËùÓб䶯»ù×¼´ÓËüʱºò¿ªÊ¼±»´´½¨£¬»òÒÔÀ´×îºóÒ»´ÎËùÒÔ²»Óñ»ºôÓõ¡£ getChanges type acceptChanges none rejectChanges none

48