EXT-JS Notes

If you use getModifiedRecords and do not clear it, the last modified record is still in this array when it is used next time, even if the record has not been modified this time, so it needs to be cleared, in the store's property pruneModifiedRecords: true, so that every time store reload, the array of getModifiedRecords will be cleared when loading


In extjs, there is no file information uploaded to the background. Please check whether the word fileUpload: true is added in the FormPanel.


Text wrapping in extjs
renderer:function(value,meta,record){     
    meta.attr = 'style="white-space:normal;"';   
                        return value;  
}


http://blog.csdn.net/alan_alei/article/details/52882401
ExtJS uses ajax to request the background, and the foreground converts JSON data
Ext.Ajax.request({
	url : "xx.php",
	params:f.getValues(),
	success : function(response, options) {
		var results = Ext.util.JSON.decode(response.responseText);
		var tp= results.data;
		Ext.get('imageBrowse').dom.src = '../../uploaders/'+tp;
	}
});


Zebra printer
http://www.chongshang.com.cn/zebra_bc.shtml
Zebra Command
https://wenku.baidu.com/view/24231a5dbe23482fb5da4c06.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326153256&siteId=291194637