그리드에 표시할 데이터가 없을 시 설정한 message를 표시합니다.


Portia
Mcfann
Beachcomber Realty
4891 Pacific Hwy
San Diego
Andrew
Fenstermacher
Shafer Commercial Seating Inc
2400 N Jefferson St
Perry
Brady
Tatum
Bohlin, Cywinski Jackson
710 N Cable Rd
Lima
Gracie
Riskalla
Jessup, Richard A Esq
5345 Madison Ave
Sacramento
Helga
Rio
Pony Express
5108 W Gore Blvd
Lawton
Shirley
Keams
Transport Workers Un Afl Cio
8 N Water St
Nantucket
Willie
Coughenour
Adams Rib Rstrnt At Norwalk
1715 Saint Marys Ave
Parkersburg
Lashawn
Mariska
Goldstein, Phillip
5600 Sw 6th Ave
Topeka
Linda
Golda
Parham, J Randolph Esq
60 Monroe Center St Nw
Grand Rapids
Tyler
Hendershott
Rappaport Hertz Cherson
3222 Winona Way
North Highlands
Guillermo
Bramhall
West, J Kevin Esq
1617 27th St
Lubbock
Pattie
Brudnicki
J Gilbert Parrish Jr
1355 California Ave
Las Cruces
Stewart
Sheakley
Chase Communications Group Ltd
Rr 5
Mechanicsville
Antionette
Shoobridge
Dolfin International
3790 Nw 167th St
Opa Locka
Camilla
Franz
Contact
2300 N Imperial Ave
Calexico
Ann
Senff
Travelodge Santa Barbara Beach
1165 E Acacia Ct
Ontario
Lauren
Langenbach
Albright, David F Esq
99 Rv Cent
Everett
Julia
Cokins
Ati Title Company
3405 Piedmont Rd Ne
Atlanta
Ashley
Kilness
Criterium Day Engineers
1012 Webbs Chapel Rd
Carrollton
Willard
Keathley
Savings Bank Of Finger Lks Fsb
801 T St
Bedford
Parker
Durante
Beacon Realty Services Inc
2888 Bluff St  #-450
Boulder
Jules
Kellerhouse
Apt Guid Orng Cnty Long Bch
5300 Springboro Pike
Dayton
Marilyn
Kleine
Alitalia Airlines
1244 S 13th St
Omaha
Elvis
Sjoberg
Nelson, Roy H Esq
58 S Main St
Youngstown
Cortez
Blanks
Hunter, Richard S Jr
Tidland Rd
Oak Ridge
Jeromy
Dirksen
Automatic Mach Products Co
12118 Bloomfield Ave
Santa Fe Springs
Hilda
Burner
Home Federal Savings Bank
2405 Ne Highway 20
Bend
Freida
Whitham
Butler, Claudia B Esq
2767 Tulane Ave
New Orleans
Benito
Eleam
First Federal Savings Bank The
1110 Batavia Farm Rd
Rosedale
Willian
Carnegie
Tanner Realty Inc
10890 General Dr
Orlando
Gloria
Hink
Smith, D Lamar Esq
710 107th St
Arlington
Abdul
Begum
Hisrich, Thomas H Esq
224 3rd Ave
Brooklyn
Jamey
Cellar
World Const & Parliament Assn
701 W Garden St
Pensacola
Alfonso
Canerday
Cirrus Logic Colorado
200 Atrium Dr
Somerset
Brooke
Mondelli
Sands Beach Club All Ste Resrt
2601 S Queen St
York
Olivia
Shollenberger
Joevan Foods Inc
1000 Garfield Ave
Jersey City
Angelica
Berkenbile
B D Holt Co
2301 York Rd
Lutherville Timonium
Wade
Staubin
Clarks Mrs Foods Inc
2700 S Clinton Ave
South Plainfield
Whitney
Falto
Sir Speedy Prntng Center
2301 York Rd
Lutherville Timonium
George
Lamoureux
Miller & Moseley
2301 York Rd
Lutherville Timonium
Carlo
Reasor
Nelson, David L Esq
1900 Wyatt Dr
Santa Clara
Kristopher
Hatteyer
Genie Personnel Services Inc
105 Riverdale Rd
Riverdale
Oscar
Madge
Carlson, Jodie L Esq
8272 Berry Ave
Sacramento
Ashley
Coneway
Pearle Vision Express
530 S Henderson Rd  #-a
King of Prussia
Les
Cortina
Spokane Community College
435 Raritan Center Pky
Edison
Van
Sprewell
Asia Pacific Technotrade
1214 Mcrae Blvd
El Paso
Quinn
Prazak
Am Interntl
Box #-27616
Sacramento
Antionette
Andree
Syring Wayne Ins Agcy Inc
Pearlridge
Aiea
Alfred
Fines
Saurer Txtl Systems Charlotte
201 S 7th St
Miles City
Jeanne
Bonefont
Gem Industrial Inc
1490 N Clinton Ave
Bay Shore
Nicholas
Engelson
Apollo Glass Co
11808 Highway 93
Boulder
William
Sagal
Doughton Hawkins Brockelman
1210 Se 1st St
Boynton Beach
Alecia
Krance
Lenweaver, Thomas E Esq
1000 S Broad St
Philadelphia
Jackie
Fabel
Cabak Randall Jasper Griffiths
99 Cobb St
Rockaway
Rhett
Malena
Riverside Community Cllg Dist
7001 W 20th Ave
Hialeah
Jody
Huckfeldt
R S Graphics Inc
435 Raritan Center Pky
Edison
Victor
Magel
P C & C Research Corp
814 N Kenilworth Ave
Glendale
Ivan
Cimaglia
Surveying And Mapping Inc
29524 Kohoutek Way
Union City
Leo
Mooberry
Eastview Housing Corp
1531 S 1st St
Milwaukee
Theron
Bruton
C J Scallop Cutting Co Inc
10817 Notus Ln  #-a101
El Paso
Leslie
Gestether
Inlingua Language Center
45 Waldo St
Providence
Liza
Soller
Kiss International
80 Hendrickson Rd
Freehold
Antione
Hameister
Hagelgans, James D Esq
Tidland Rd
Oak Ridge
Vern
Edmundson
Cpr Medical Mktng & Commctn
202 Edison Dr
New Lenox
Toby
Blazina
Wharfside Brokerage Co Inc
210 S 4th Ave
Mount Vernon
Dalton
Calix
Roth, David P
7847 Convoy Ct
San Diego
Leslie
Yoke
Galloway & Qualmann Pa
90 Porter Ave
Brooklyn
Jerome
Mcclaughry
C Xpress Moving & Storage
409 Lincoln Ave
Hatboro
Melissa
Mcconn
Lucas Industries
210 Andover St  #-21
Wilmington
Erna
Phyfiher
United Striping
4153 Marine Ave
Lawndale
Jarrett
Pfister
Holden & Hahn
3101 Texas Ave
La Marque
Connie
Greenhalgh
Norwesco Inc
19760 Cajon Blvd
San Bernardino
Gayle
Benes
Mln Automated Systems
11660 Alpharetta Hwy
Roswell
Alfonzo
Eisermann
Resonex
5601 Clinton Dr
Houston
Keisha
Frett
Maxey, Douglas C
928 Chgo Ave
Evanston
Verda
Eisenberg
Midwest Interview & Rsrch Inc
2659 Edison Ave
Jacksonville
Joan
Erle
Johnson, Keith L Esq
127 S Price St
Kingwood
Lea
Picado
Seward Life Action Council
2385 Hammond Dr
Schaumburg
Virgilio
Vallas
Badger Package Express
2364 Sw 8th St
Miami
Jeanne
Facio
Kims Southwest Hose Dallas
5035 Galley Rd
Colorado Springs
Michelle
Shmidt
Cornnuts Inc
5392 Hwy 150 E
Browns Summit
Gary
Luoto
Bodine Electric Motors
201 Roscoe Rd
Modesto
Bert
Vegh
Lea Serv Ppl With Physcl Disab
3501 Haven Ave
Menlo Park
Bertha
Gant
Cranford Construction Co
3681 Green Rd
Beachwood
Antonia
Bodie
Yeary & Associates
2857 Beach Dr
Merrick
Dana
Crimes
Merrifield, David Esq
8615 Elder Creek Rd
Sacramento
Aurora
Kaminer
Sumter Merchants Association
100 Atherton Dr
Metairie
Anita
Lederer
Ferguson Supply & Box Mfg Co
4621 Teller Ave
Newport Beach
Haley
Lorge
General Business Forms Inc
925 Aspen St
Fairbanks
Mason
Norrick
Kgrt Am Fm Radio Station
2217 Chico Ave
South El Monte
Prince
Kisselburg
Gilmans Mineral & Lapdry Supl
68 Green St
Warner Robins
Jacquline
Shoat
Dmt Corporation
171 Green Pond Rd
Rockaway
Darnell
Keohane
Los Angeles Diesel Parts Inc
132 2nd St
San Francisco
Latonya
Bemberry
Inofast Inc
1718 Belmont Ave  #-k
Windsor Mill
Eusebio
Mchaney
Orr, E Wycliffe Esq
2817 Arts St
New Orleans
Rafael
Correia
Aa Rubber Stamp Co
8201 E Pacific Pl  #-607
Denver
Curt
Bleggi
Pml Securities Inc
2260 Salscheider Ct
Green Bay
Clark
Strothmann
Dann Ocean Towing Inc
16 Filmore Pl
Freeport
Mathew
Ruacho
Complete Catering Cafe Etc
1266 S Lyon St
Santa Ana
Harrison
Bunk
Greene, Hersch Esq
8635 Loch Raven Blvd
Towson
Melba
Broekemeier
Perkins, Joseph A
80 Hendrickson Rd
Freehold
Marcel
Kolodziej
Harvill, F Evans Esq
560 Allyn St
Akron
David
Cressy
William D Ryals Pc
2813 S Macarthur Dr
Alexandria
Petra
Cangey
Plunkett, Hugh V Iii
4400 Worth St
Los Angeles
Douglass
Saison
Miller Chiropractic Center
174 Sanford Ln
Stamford
Emanuel
Joanis
Oelwein Commercial Printing
Hwy 71
West Fork
Celia
Yerico
School
612 S Ayon Ave
Azusa
Mina
Treat
Israelite, Craig L Md
8299 21st Ave
Sacramento
Seth
Kohnke
B & C Auto Wreckers
142 Sw 5th Ave
Homestead
Orval
Chiarini
City Lights Inc
341 Queens Row
Lafayette
Ines
Seltzen
Great American Picture Co
149 Lawrence St
Brooklyn
Rena
Rushen
Imperial Inn
15308 Spencerville Ct  #-201b
Burtonsville
Delma
Shumake
Pacer Books
3827 S Western Ave
Sioux Falls
Ashlee
Havatone
Superior Rubber Die Co Inc
1522 Saint Louis Ave
Kansas City
Odessa
Yagecic
Stark, Susan E Esq
Hwy 27n N
Trion
Annetta
Whitt
M W Windows
107 E 27th St
Paterson
FirstNameLastNameCompanyAddressCity

요약

그리드에 표시할 데이터가 없을 시 설정한 message를 표시합니다.

입력값

String : 표시되는 메시지



예) datagrid1.strEmptyRecords = "표시할 데이터가 없습니다.";
     초기 속성 설정으로도 가능합니다. "strEmptyRecords" : "표시할 데이터가 없습니다."

상세설명

그리드에 해당하는 json data가 존재하지 않을 때 그리드에 문자열을 보여주어 표시합니다.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page language="java"   contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko">
<head>
	<meta content="IE=9" http-equiv="X-UA-Compatible">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>SoftBowl SBGrid Example</title>
	<script type="text/javascript" src="../../kr/co/softbowl/js/Library/json-minified.js"></script>
	<script type="text/javascript" src="../../js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="../../kr/co/softbowl/js/Library/json2.js"></script>
		
	<script type="text/javascript" src="../../kr/co/softbowl/SBGrid.js"></script>
	
	<script type="text/javascript" src="../../js/DATA_JSON_116_people.js"></script>
		
	<script type="text/javascript">			
		SBGrid.DEF.DOMAIN = "../../";
	<script>
	
	<script type="text/javascript">
        
        var datagrid1;
        $(document).ready(function () {
            __createElements(grid_data);
        });
        var json_data = [];

        function __createElements(data) {
            json_data = data;
            var GridInitInfo = {
                                    "strParentId": "sbGridArea",
                                    "strId": "datagrid1",
                                    "strCaption": "FirstName^LastName^Company^Address^City^County^State^ZIP_Code^Phone^Fax^E-mail^HomePage Address",
                                    "strColWidth": "100, 100, 250, 250, 180, 150, 70, 100, 110, 110, 250, 300",
                                    "strJsonRef": "json_data",
                                    "strEmptyRecords": "표시할 데이터가 없습니다.",
                                    "strEmptyRecordsFontStyle": "font-size:40px; font-weight:bold;",
                                    "strDataHeight": "29",
                                    "strStyle": "width:100%; height:480px; ",
                                    "strBackColorAlternate": "#f7f7f7",
                                    "strExplorerbar": "sortshow"
            };
            var SBGridColumnInitInfo = [
				    { "id": "col1", "type": "input", "ref": "FirstName" },
				    { "id": "col2", "type": "input", "ref": "LastName" },
				    { "id": "col3", "type": "input", "ref": "Company" },
				    { "id": "col4", "type": "input", "ref": "Address" },
				    { "id": "col5", "type": "input", "ref": "City" },
				    { "id": "col6", "type": "input", "ref": "County" },
				    { "id": "col7", "type": "input", "ref": "State", "style": "text-align:center" },
				    { "id": "col8", "type": "output", "ref": "ZIP", "style": "text-align:center" },
				    { "id": "col9", "type": "output", "ref": "Phone", "style": "text-align:center" },
				    { "id": "col10", "type": "output", "ref": "Fax", "style": "text-align:center" },
				    { "id": "col11", "type": "output", "ref": "Email" },
				    { "id": "col12", "type": "output", "ref": "Web" }
            ];
            if (SBGrid.getGrid('datagrid1') != null) {
                datagrid1.destroy();
                datagrid1 = null;
            }
            datagrid1 = createSBGrid(GridInitInfo, SBGridColumnInitInfo);
            
        }
        function createSBGrid(SBGridInitInfo, SBGridColumnInitInfo) {
            var objJSONdata = new Object();
            objJSONdata.objSBGridInitInfo = SBGridInitInfo;
            objJSONdata.arSBGridColumnInitInfo = SBGridColumnInitInfo;
            return SBGrid.DEF.createSBGrid(objJSONdata);
        };
        $('#btnEmptyMessage').click(function () {
            var json_empty = [];
            __createElements(json_empty);
        }); 
		
	</script>
</head>
<body>

    <div id="button_group">
    	<input type="button" class="sbgrid_demo_button2" style="width:33%; height:30px; background-color:#F2CB61;" id="btnEmptyMessage" value="빈메시지 설정" />
    </div>
    <div id="sbGridArea"></div>
</body>
</html>