1.xml文件内容:

 1ExtJs GridPanel XML做数据源<?xml version="1.0" encoding="UTF-8"?>
 2ExtJs GridPanel XML做数据源<Data>
 3ExtJs GridPanel XML做数据源  <Items>   
 4ExtJs GridPanel XML做数据源    <TotalResults>203</TotalResults>
 5ExtJs GridPanel XML做数据源    <TotalPages>21</TotalPages>
 6ExtJs GridPanel XML做数据源    <Item>
 7ExtJs GridPanel XML做数据源      <ASIN>0446355453</ASIN>     
 8ExtJs GridPanel XML做数据源      <Author>Jimmy.Yang</Author>
 9ExtJs GridPanel XML做数据源      <Manufacturer>Warner Books</Manufacturer>
10ExtJs GridPanel XML做数据源      <ProductGroup>Book</ProductGroup>
11ExtJs GridPanel XML做数据源      <Title>Master of the Game</Title>      
12ExtJs GridPanel XML做数据源    </Item>
13ExtJs GridPanel XML做数据源    <Item>
14ExtJs GridPanel XML做数据源      <ASIN>0446613657</ASIN>          
15ExtJs GridPanel XML做数据源      <Author>Sidney Sheldon</Author>
16ExtJs GridPanel XML做数据源      <Manufacturer>Warner Books</Manufacturer>
17ExtJs GridPanel XML做数据源      <ProductGroup>Book</ProductGroup>
18ExtJs GridPanel XML做数据源      <Title>Are You Afraid of the Dark?</Title>      
19ExtJs GridPanel XML做数据源    </Item>
20ExtJs GridPanel XML做数据源  
21ExtJs GridPanel XML做数据源  </Items>
22ExtJs GridPanel XML做数据源</Data>

 

2.ExtJs调用页面

 1ExtJs GridPanel XML做数据源<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 2ExtJs GridPanel XML做数据源<html xmlns="http://www.w3.org/1999/xhtml">
 3ExtJs GridPanel XML做数据源<head>
 4ExtJs GridPanel XML做数据源    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 5ExtJs GridPanel XML做数据源    <link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" />
 6ExtJs GridPanel XML做数据源     <script type="text/javascript" src="../adapter/ext/ext-base.js"></script>
 7ExtJs GridPanel XML做数据源    <script type="text/javascript" src="../ext-all.js"></script> 
 8ExtJs GridPanel XML做数据源    <title>ExtJs_Grid_Xml</title>
 9ExtJs GridPanel XML做数据源</head>
10ExtJs GridPanel XML做数据源<body>
11ExtJs GridPanel XML做数据源
12>

相关文章:

  • 2022-12-23
  • 2021-11-23
  • 2021-10-21
  • 2021-10-14
  • 2021-12-03
  • 2022-01-27
  • 2022-01-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-15
  • 2021-05-31
  • 2021-12-04
  • 2021-06-20
  • 2021-10-15
  • 2022-12-23
相关资源
相似解决方案