Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lagnajeet Sahu on May 05, 2009 04:02
open dhtmlx forum
SMART RENDERING AT COLUMN LEVEL RATHER THAN ROW LEVEL

Hi,

I am using licensed version of dhtmlxgrid in my application. Smart Rendering is a very good feature in the grid.

I have a requirement where in the grid has only 6 ROWS and 2 MILLION COLUMNS. Headers are not shown in the grid. I am loading the data from an xml file. Below is a simple sample of the datasource xml. You can see that cells in a rows are in arithmetic progression where the common difference is 6 (a, a+d, a+2d, a+3d, …). The number of columns in this case is huge where as the number of rows is fixed. I have horizontal scroll for the grid and NO VERTICAL SCROLL. Can we implement SMART RENDERING AT COLUMN LEVEL. Like if the user scrolls I want more and more columns to be displayed.

Please provide a solution or a work around for this.

<?xml version="1.0" encoding="utf-8"?>
<rows>
<head>
<column id="1" type="ro" width="60" sort="na" align="center"></column>
<column id="2" type="ro" width="60" sort="na" align="center"></column>
<column id="3" type="ro" width="60" sort="na" align="center"></column>
<column id="4" type="ro" width="60" sort="na" align="center"></column>
<column id="5" type="ro" width="60" sort="na" align="center"></column>
<column id="6" type="ro" width="60" sort="na" align="center"></column>
</head>
<row id="1">
<cell>1</cell>
<cell>7</cell>
<cell>13</cell>
<cell>19</cell>
<cell>25</cell>
<cell>31</cell>
</row>
<row id="2">
<cell>2</cell>
<cell>8</cell>
<cell>14</cell>
<cell>20</cell>
<cell>26</cell>
<cell>32</cell>
</row>
<row id="3">
<cell>3</cell>
<cell>9</cell>
<cell>15</cell>
<cell>21</cell>
<cell>27</cell>
<cell></cell>
</row>
<row id="4">
<cell>4</cell>
<cell>10</cell>
<cell>16</cell>
<cell>22</cell>
<cell>28</cell>
<cell></cell>
</row>
<row id="5">
<cell>5</cell>
<cell>11</cell>
<cell>17</cell>
<cell>23</cell>
<cell>29</cell>
<cell></cell>
</row>
<row id="6">
<cell>6</cell>
<cell>12</cell>
<cell>18</cell>
<cell>24</cell>
<cell>30</cell>
<cell></cell>
</row>
</rows>


Regards,
Lagnajeet Sahu
Answer posted by Support on May 05, 2009 04:50
Unfortunately there is no such possibility.
Grid oriented on vertical datasets, with moderate number of column and not limited count of rows, its rendering for column-oriented structure if far from perfect ( having more than 100 columns will have bad effects on performance, 2kk columns - is an instant kill ) 

There was some experimental extension for horizontal oriented grids, but neither from them will be able to render such wide grid.