Export grid to HTML table format. Primarily used by Printer plugin.
| Parameter | Type | Description |
|---|---|---|
| writerArgs | object |
Optional
|
Get CSS class string for a column
| Parameter | Type | Description |
|---|---|---|
| arg_obj | object |
| Parameter | Type | Description |
|---|---|---|
| rowIndex | undefined | |
| rowItem | undefined | |
| cell | undefined | |
| grid | undefined |
Get CSS class string for a row
| Parameter | Type | Description |
|---|---|---|
| arg_obj | object |
Get html attribute string for the given kind of tag.
| Parameter | Type | Description |
|---|---|---|
| tagName | string | An html tag name |
The well formatted attributes for the given html table.tag
Overrided from _ExportWriter
After handling a line of data (not header).
| Parameter | Type | Description |
|---|---|---|
| argObj | object | An object with at least the following context properties available: {
grid,isHeader,
row,rowIdx,
spCols
}
|
undefined
The header line has been handled.
undefined
Overrided from _ExportWriter
| Parameter | Type | Description |
|---|---|---|
| arg_obj | object |
Overrided from _ExportWriter
| Parameter | Type | Description |
|---|---|---|
| arg_obj | object |
We are ready to go through all the contents(items).
| Parameter | Type | Description |
|---|---|---|
| items | Array | All the items fetched from the store |
Before handling a line of data (not header).
| Parameter | Type | Description |
|---|---|---|
| argObj | object | An object with at least the following context properties available: {
grid,isHeader,
row,rowIdx,
spCols
}
|
We are going to start the travel in the grid. Is there anything we should do now?
| Parameter | Type | Description |
|---|---|---|
| grid | EnhancedGrid |
Overrided from _ExportWriter
| Parameter | Type | Description |
|---|---|---|
| arg_obj | object |
Overrided from _ExportWriter
| Parameter | Type | Description |
|---|---|---|
| arg_obj | object |
Overrided from _ExportWriter
| Parameter | Type | Description |
|---|---|---|
| arg_obj | object |
Overrided from _ExportWriter