Categories | Question details Back To List | ||
The
question is:
1.
what's schema of the
XML used i... The question is: 1. what's schema of the XML used in loadXML()? 2. how can I achieve merging cells across row, now only setColspan() can be found in the doc, not setRowspan() like found. if no, is there solution on it? 3. is it possible to set a column's date format, while not the provided grid wide date format? 4. is it possible to set time format? what's rule to define multi-line header? I get a little confused with the #rspan, #cspanAnswer posted on Mar 14, 2007 14:28 1. Please refer to documentation guide for description of used XML structure. 2. The grid is row-centric, rows can't be merged (except header rows, which are special case). 3. The limited date formatting can be applied by setDateFormat functionality. Please refer to samples/pro_format.html 4. There is no such native functionality, it can be done only by writing custom exCell. 5. By default you just use addHandler function and provide list of values which you want to see in header line. To organize different cell merging in header next entities used #cspan - cell with such value will be merged with previous sibling in same row #rspan - cell with such value will be merged with row in same column but on previous line
grid.attachHeader(["1","2","#cspan","3"]); will produce row with 4 columns, where second and third columns merged grid.attachHeader(["1","#cspan","#cspan","#cspan"]); will produce row with 4 columns, where all columns
merged Answer posted by Embre (Support) on Dec 07, 2014 17:20 If you haven't found the needed information there and still looking for a solution, you will find the additional help checking gantt chart component and simple date picker javascript. |