Grid (Table) with news feeder (IE only) : Table Grid : GUI Components : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
JavaScript DHTML Home »  GUI Components   » [  Table Grid  ]   
 



Grid (Table) with news feeder (IE only)

Please note that some example is only working under IE or Firefox.

<html>
<head>
  <style> body, html {margin:0px; padding: 0px; overflow: hidden; font: menu;</style>

  <!-- ActiveWidgets stylesheet and scripts -->
  <link href="gridRuntime/styles/classic/grid.css" rel="stylesheet" type="text/css" ></link>
  <script src="gridRuntime/lib/grid.js"></script>

  <style>
    .active-column-{width: 400px}
  </style>

</head>
<body>
  <script>

  var date = new Active.Formats.Date;
  date.setTextFormat("[ddd, d mmm]");

  var data = new Active.XML.Table;
  data.setURL("http://www.xignite.com/xWorldNews.asmx/GetTopStories");
  data.setParameter("CriteriaType""Region");
  data.setParameter("CategoryName""West Europe");
  data.setParameter("StoryCount"20);
  data.setNamespace("xi""http://www.xignite.com/services/");
  data.setRows("//xi:Abstract");
  data.setColumns(["xi:Title""xi:Source""xi:City""xi:Language""xi:InsertDate"]);
  data.setFormat(date, 4);
  data.request();

  var obj = new Active.Controls.Grid;
  obj.setDataModel(data);
  obj.setColumnProperty("texts"["Title""Source""City""Language""Date"]);
  document.write(obj);

  </script>
</body>
</html

           
       
Download: ActiveWidgets.zip   ( 344  K )  
Related examples in the same category
1.  List box ( Grid Table )Has Download File
2.  List view (Selection between two list)Has Download File
3.  Basic Grid (Table) Has Download File
4.  Grid (Table) with colored cellsHas Download File
5.  Build a Grid (Table) from CSV data fileHas Download File
6.  Build a Grid (Tree) from a tab separated fileHas Download File
7.  Build a Grid (Table) from yahoo quotes (IE only)Has Download File
8.  Grid (Table) with image in cellsHas Download File
9.  Grid (Table) with multiple selectionHas Download File
10.  Grid (Table) with row header and tooltipsHas Download File
11.  One page two grid (Table)Has Download File
12.  Data in Grid (Table) from XML fileHas Download File
13.  Grid (Table) with Data Island and Column highlightHas Download File
14.  Grid (Table) with cell format and XML data setHas Download File
15.  Grid (Table) data from RSS (IE only)Has Download File
16.  Grid (Table) data from xml file 2Has Download File
17.  Grid (Table) with quotes feeder (IE only)Has Download File
18.  Grid (Table) in Unix style
19.  Sortable Grids (table)
20.  Selectable Cells Grid Table
21.  Editable Grid Table cell
22.  Call back action in Grid Table
23.  Table Grid Rows Selection
24.  Grid Table Columns Resize
25.  Table Grid Column Renderers
26.  Sorting for each column or double click to edit its contents.
27.  Table Grid style and sort the style
28.  Table in JavaScriptHas Download File
29.  Web Data Grid TableHas Download File








Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.