¡á GridID.GridToExcel

SECTION

 

Method

SINCE

 

NewPacket - 1.1.0.55     Mx - 1.2.0.0

DESCRIPTION

 

GridÀÇ ³»¿ëÀ» Excel·Î Ç¥Çö / ÆÄÀÏ·Î ÀúÀåÇÑ´Ù.

RunExcelµîÀÇ MethodµéÀº ExcelÀ» ¶ç¿îÈÄ¿¡ Cell´ÜÀ§·Î µ¥ÀÌÅ͸¦ ¼³Á¤Çϱ⠶§¹®¿¡ ¼öÇà¼Óµµ°¡ »ó´ëÀûÀ¸·Î ´À¸®´Ù.

GridToExcelÀº GridÀÇ ³»¿ëÀ» Html ÆÄÀÏÇü½ÄÀ¸·Î ¸Þ¸ð¸®»ó¿¡ ÆíÁýÇÑ ÈÄ Excel¿¡ ºÙ¿©³Ö±â¸¦ Çϱ⠶§¹®¿¡ ±× ¼öÇà¼Óµµ¸¦

Áõ°¡½ÃÄ×À¸¸ç, Excel¿¡ GridÀÇ ÆùÆ® Àû¿ë, Suppress ±â´É°³¼±, Column´ÜÀ§·Î Excel ¼­½ÄÁöÁ¤, SetExcelTitleÀ» »ç¿ëÇÏ¿©

Ãß°¡ÀûÀÎ Á¤º¸ÀÔ·Â µîÀÇ ±â´ÉÀ» º¸¿ÏÇÏ¿´´Ù.

SYNTAX

 

GridID.GridToExcel(SheetName, FilePath, Option)

POSSIBLE VALUES

 

ÇØ´ç¾øÀ½

PARAMETERS

 

BSTR SheetName : Excel¿¡¼­ÀÇ Sheet¸í

BSTR FilePath : FileÀ̸§À» Æ÷ÇÔÇÑ Path

long Option : ¼öÇà Option

 

[ÁÖÀÇ»çÇ×]

1.     4¹øOption 'ExcelÀ» È­¸é¿¡ ¶ç¿ìÁö ¾Ê°í ÆÄÀϷθ¸ ÀúÀå' ÀÇ °æ¿ì 8¹øOption 'ExcelÀ» ÆÄÀÏ·Î ÀúÀå ¼³Á¤'À» °°ÀÌ »ç¿ëÇÏ¿©¾ß ÇÕ´Ï´Ù.

2.     16¹øOption ¡®ÆÄÀÏÀúÀå½Ã ÀúÀå ´ëÈ­»óÀÚ¸¦ ¶ç¿ò¡¯ÀÇ °æ¿ì 8¹øOption 'ExcelÀ» ÆÄÀÏ·Î ÀúÀå ¼³Á¤À» »ç¿ëÇÏ¿©¾ß ÇÕ´Ï´Ù.

3.     4¹ø°ú 8¹ø OptionÀ» »ç¿ëÇÏ¿© ÀúÀå½Ã FilePath¸¦ ÁöÁ¤ÇÏÁö ¾ÊÀ» °æ¿ì ¡®³» ¹®¼­¡¯ Æú´õ¿¡ ÀúÀåÇÕ´Ï´Ù.

Style

Description

Style

Description

Style

Description

1

Suppress Àû¿ë Ãâ·Â

4

ExcelÀ» È­¸é¿¡ ¶ç¿ìÁö ¾Ê°í ÆÄÀϷθ¸ ÀúÀå

16

ÆÄÀÏÀúÀå½Ã ÀúÀå ´ëÈ­»óÀÚ¸¦ ¶ç¿ò

2

Show°¡ falseÀÎ ColumnÀ» Ãâ·Â

8

ExcelÆÄÀÏ·Î ÀúÀå

32

¿¢¼¿ÆÄÀÏÀÇ WorkSheet¿¡ Ãß°¡(NP 1,1,0,110 Mx 1,2,0,6)

64

ÆÄÀÏÀúÀå ´ëÈ­»óÀÚ°¡ ¶¹À» ¶§ Ãë¼Ò ¹öÆ°À» Ŭ¸¯ÇϸéGridToExcel Á¾·á

( NP - 1,1,1,230

 Mx - 1,2,1,127 )

128

New Line ij¸¯ÅÍ(\r\n, \n)¸¦ Àû¿ëÇÏ¿© Ãâ·Â

( NP - 1,1,1,244

 Mx - 1,2,1,141)

256

WordWrap ±â´É »ç¿ëÇÏÁö ¾ÊÀ» ¶§ ¼³Á¤.

(NP 1,1,1,316

Mx 1,2,1,217

Excel97 ¹ÌÁö¿ø)

512

HTML TAG°¡ °ª¿¡ Æ÷ÇԵǾî À־ ½ºÅ¸ÀÏÀ» Àû¿ëÇÏÁö ¾Ê°í ±×´ë·Î Ãâ·Â

(¿¹: HTML TAG Áß italic <i>, bold<b> µî)

(NP 1,1,1,342

Mx 1,2,1,244

Excel97 ¹ÌÁö¿ø)

1024

 ProgressBar¸ð´ÞâÀ» ¶ç¿ìÁö ¾Ê°íÀÚ ÇÒ ¶§ ¼³Á¤

2048

ProgressBar¸ð´ÞâÀÇ À§Ä¡¸¦ ºê¶ó¿ìÀú ±âÁØÀ¸·Î °¡¿îµ¥·Î À§Ä¡½ÃÅ°°íÀÚ ÇÒ¶§ ¼³Á¤

(Mx-1,2,1,311

Excel97 ¹ÌÁö¿ø )

4096

ÆÄÀÏÀúÀå»óÀÚ¸¦ ¶ç¿î °æ¿ì, ¼³Ä¡µÈ Office ¹öÀü¿¡ °ü°è¾øÀÌ Default ÆÄÀÏÇü½Ä È®ÀåÀÚ¸¦ xls·Î ÁöÁ¤

(NP ¹ÌÁö¿ø)

Mx 1,2,1,312

Excel97 ¹ÌÁö¿ø)

 8192

 ¿¢¼¿À̼³Ä¡µÇÁö¾ÊÀº°æ¿ì

Grid.ExportFile¸Þ¼Òµå

¸¦ ÀÚµ¿À¸·Î È£ÃâÇÑ´Ù.

16384 

CheckµÈ Row¸¸ Excel·Î º¸³½´Ù.

1.CheckFlagÄ÷³ÀÌ Á¸ÀçÇؾßÇÔ.

2.GridToExcel À» ÀÌ¿ëÇÏ¿© CheckFlagÄ÷³ÀÇ ¼±ÅÃµÈ Row¸¸ Excel·Î ÀúÀåÇÑ´Ù.

(NP - ¹ÌÁö¿ø

MAX - 1,2,1,315

UMX - 2,0,1,307)

32768

SubSumExpr·Î Àû¿ëµÈ ·Î¿ì±îÁö Suppress¸¦ Àû¿ëÇÏ¿© Ãâ·Â

(NP - ¹ÌÁö¿ø

MAX - 1,2,1,329

UMX - 2,0,1,332)

65536

Save as ¸Þ½ÃÁö ¹Ú½º¸¦ ¶ç¿ìÁö ¾Ê°íÀÚ ÇÒ ¶§ ¼³Á¤

(NP - ¹ÌÁö¿ø

MAX - 1,2,1,374

UMX - 2,0,1,373)

131072

titleheight,gtitleheight,xtitleheight ¼³Á¤ÇÑ ³ôÀ̸¦ Àû¿ë ÇÒ ¶§ ¼³Á¤

(NP - ¹ÌÁö¿ø

MAX - 1,2,1,387

UMX - 2,0,1,387)

RETURN VALUES

 

ÇØ´ç¾øÀ½

EXAMPLE

 

[JavaScript]

GridID.GridToExcel(szName, szPath, lOption);

SAMPLE

 

./sample/GridToExcel_s1.html

SEE ALSO

 

SetExcelTitle, ExportFile, ExportFileEx, ExportFile2, RunExcel, RunExcelEx, RunExcelSheet, RunExcelSheetEx, SaveExcel