热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

ExtJS 面试题与答案

问题 21. How to find no of records in a store?

Using 

store.getCount() : Gets the number of cached records.
store.getTotalCount() : Gets the total number of records in the dataset as returned by the server.

这有帮助吗? 添加评论 查看评论
 

问题 22. How to handle exception while loading datastore?

Using loadexception event.
syntax: store.loadexception() : Fires if an exception occurs in the Proxy during loading.
use beforeload : ( Store this, Object options ) : Fires before a request is made for a new data object. If the beforeload handler returns false the load action will be canceled.
syntax:
store.on('loadexception', function(event, options, response, error) {
alert("Handling the error");
event.stopEvent();
});

这有帮助吗? 添加评论 查看评论
 

问题 23. How to handle updates for store changes?

Use store.commitChanges()

这有帮助吗? 添加评论 查看评论
 

问题 24. What is the purpose of each() in store?

Calls the specified function for each of the Records in the cache
each( Function fn, [records Object] )

这有帮助吗? 添加评论 查看评论
 

问题 25. How to get modified records using store object?

store.getModifiedRecords() : Gets all records modified since the last commit.

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。