I am using ListView of extjs to insert a list of values, after creating the list and when i try to modify the listview, i surprised seeing a blank row added to the list at last. Code:
var listView = new Ext.list.ListView({
id: "listView_values",
autoScroll : true,
height:80,
reserveScrollOffset: true,
hideHeaders : true,
singleSelect : true,
store: store,
multiSelect: false,
columns: [{
dataIndex: 'value'
}]
});
PLease help in solving this issue.
After adding this piece of code in my java class, i achieved the above functionality.
lValuesList = lValuesList.substring(0, lValuesList.length() - 1);