Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获得第一行的价值记录,但不改变选择。我试试
alert(grid.store.first().get('name'));
但不工作。我该怎么做谢谢。我使用 extjs 4.1.1
grid.store.getAt(0).data.name
这里名称是列,即您需要数据的列的数据索引。