我正在尝试使用基于纯文本的 jsgrid 创建动态数据网格。
我知道我可以使用“可编辑”选项并使用自己的 jsgrid 工具来实现动态数据网格,但是这个项目专注于一个特定领域,大多数用户习惯于使用纯文本来复制和存档有问题的数据,所以我必须使用纯文本来保持易于输入和在必要时输出数据。
到现在为止,我只是在每次输入更改时重新写入数据网格,但显然随着输入变大,这种写入速度会更慢。
这里是测试链接:http: //balaiomtg.ligaos.net/
试试这个作为输入:
1 Zedruu the Greathearted
1 Steel Golem
1 Illusions of Grandeur
1 Pyromancer's Swath
1 Celestial Dawn
1 Gilded Drake
1 Vedalken Plotter
1 Political Trickery
1 Shifting Borders
1 Phyrexian Metamorph
1 Psychosis Crawler
1 Mirror-Sigil Sergeant
1 Yosei, the Morning Star
1 Keiga, the Tide Star
1 Consecrated Sphinx
1 Sun Titan
1 Niv-Mizzet, the Firemind
1 Numot, the Devastator
1 Eternal Dragon
1 Quicksilver Gargantuan
1 Chancellor of the Spires
1 Bogardan Hellkite
1 Iona, Shield of Emeria
1 Hinder
1 Spell Crumple
1 Forbid
1 Decree of Silence
1 Journey to Nowhere
1 Oblivion Ring
1 Detention Sphere (RTR)
1 Nevermore
1 Orim's Thunder
1 Dismantling Blow
1 Hallowed Burial
1 Terminus
1 Austere Command
1 Wild Research
1 Idyllic Tutor
1 Tezzeret the Seeker
1 Mystic Remora
1 Rhystic Study
1 Fact or Fiction
1 Future Sight
1 Aeon Chronicler
1 Sphinx's Revelation
1 Lightning Greaves
1 Whispersilk Cloak
1 Crystal Shard
1 Spreading Seas
1 Paradox Haze
1 Copy Enchantment
1 Venser the Sojourner
1 Sphere of the Suns
1 Vessel of Endless Rest
1 Darksteel Ingot
1 Coalition Relic
1 Expedition Map
1 Journeyer's Kite
1 Pilgrim's Eye
1 Solemn Simulacrum
1 Command Tower
1 Homeward Path
1 Reliquary Tower
1 Kher Keep
1 Terramorphic Expanse
1 Evolving Wilds
1 Celestial Colonnade
1 Glacial Fortress
1 Mystic Gate
1 Flooded Strand
1 Azorius Chancery
1 Hallowed Fountain
1 Battlefield Forge
1 Arid Mesa
1 Rugged Prairie
1 Boros Garrison
1 Sacred Foundry
1 Cascade Bluffs
1 Steam Vents
1 Izzet Boilerworks
1 Shivan Reef
1 Vivid Meadow
1 Vivid Crag
1 Vivid Creek
1 Tolaria West
1 Mistveil Plains
6 Island
5 Plains
3 Mountain
1 Bruna, the Fading Light*
1 Gisela, the Broken Blade
1 Knight of the White Orchid
1 Thalia's Lancers
1 Sol Ring*
1 Thran Dynamo*
1 Caged Sun
1 Hedron Archive*
1 Worn Powerstone*
1 Pearl Medallion
1 Grand Abolisher
1 Serra Avenger*
编辑:设置一个更大的样本输入。