Skip to content

Commit

Permalink
fixed example for custom cells to use strings, so any data types are …
Browse files Browse the repository at this point in the history
…supported wihtout being blocked by cell validation.
  • Loading branch information
mike.king committed Dec 21, 2015
1 parent a591efb commit 7b08606
Show file tree
Hide file tree
Showing 15 changed files with 45 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,5 @@ $RECYCLE.BIN/
Network Trash Folder
Temporary Items
.apdisk
binaries/mike_king_lib_labview_datagridview-*.vip
binaries/mike_king_lib_labview_datagridview-*.vip
29 changes: 25 additions & 4 deletions binaries/LabVIEW DataGridView.vipb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VI_Package_Builder_Settings Version="0.6" Created_Date="2015-11-22 16:17:28" Modified_Date="2015-12-19 14:27:51" Creator="Mike" Comments="" ID="1408b16544ca1e80a9127ea4582a530b">
<VI_Package_Builder_Settings Version="0.6" Created_Date="2015-11-22 16:17:28" Modified_Date="2015-12-21 08:00:40" Creator="Mike" Comments="" ID="302fe357e00d8bd018e44aca1dbb3dcc">
<Library_General_Settings>
<Package_File_Name>mike_king_lib_LabVIEW_DataGridView</Package_File_Name>
<Library_Version>1.0.0.4</Library_Version>
<Library_Version>1.0.0.5</Library_Version>
<Auto_Increment_Version>false</Auto_Increment_Version>
<Library_Source_Folder>..</Library_Source_Folder>
<Library_Output_Folder>.</Library_Output_Folder>
Expand Down Expand Up @@ -108,6 +108,27 @@ Basically, this grid allows better table support, with more built in features th
<Namespace_Type>Prefix</Namespace_Type>
<Namespace/>
</Namespace_Overrides>
<Exclusions>
<Path>binaries</Path>
</Exclusions>
<Exclusions>
<Path>documentation</Path>
</Exclusions>
<Exclusions>
<Path>.gitattributes</Path>
</Exclusions>
<Exclusions>
<Path>.gitignore</Path>
</Exclusions>
<Exclusions>
<Path>license.md</Path>
</Exclusions>
<Exclusions>
<Path>readme.md</Path>
</Exclusions>
<Exclusions>
<Path>todo.md</Path>
</Exclusions>
</Source_Files>
<License_Agreement_Filepath/>
<Licensing_and_Activation>
Expand Down Expand Up @@ -305,7 +326,7 @@ Basically, this grid allows better table support, with more built in features th
<Path>..\source\DataGridView\Remove Rows.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>57F8C8BD91F099B81CB7ED5D2666E7CC</GUID>
<GUID>BCEB6FE5899371281EE64A624678F709</GUID>
</Functions_Palette_Data>
<Controls_Palette_Data>
<Parent_Palette_Index>-1</Parent_Palette_Index>
Expand Down Expand Up @@ -340,7 +361,7 @@ Basically, this grid allows better table support, with more built in features th
<Path>..\source\Controls\DataGrid.ctl</Path>
<VI_Title/>
</Items_Data>
<GUID>2974DA10EB949056C0100061D527D918</GUID>
<GUID>43CC4566DB9D2F03ED7597EA0F6687A3</GUID>
</Controls_Palette_Data>
</Library_Palette_Definition>
</VI_Package_Builder_Settings>
Binary file not shown.
18 changes: 6 additions & 12 deletions source/DataGrid.lvproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
<Property Name="server.vi.propertiesEnabled" Type="Bool">true</Property>
<Property Name="specify.custom.address" Type="Bool">false</Property>
<Item Name="DataGrid.lvlib" Type="Library" URL="../DataGrid.lvlib"/>
<Item Name="Example Define All Rows.vi" Type="VI" URL="../Example Define All Rows.vi"/>
<Item Name="Example Simple DataBinding.vi" Type="VI" URL="../Example Simple DataBinding.vi"/>
<Item Name="Example Custom Row Cell Types.vi" Type="VI" URL="../Example Custom Row Cell Types.vi"/>
<Item Name="Dependencies" Type="Dependencies">
<Item Name="vi.lib" Type="Folder">
<Item Name="To .NET Object.vi" Type="VI" URL="/&lt;vilib&gt;/Platform/dotnet.llb/To .NET Object.vi"/>
Expand Down Expand Up @@ -90,8 +90,9 @@
<Property Name="Bld_localDestDirType" Type="Str">relativeToCommon</Property>
<Property Name="Bld_modifyLibraryFile" Type="Bool">true</Property>
<Property Name="Bld_previewCacheID" Type="Str">{198ED58C-DA08-4E3F-A912-5B06D7D104EA}</Property>
<Property Name="Bld_version.build" Type="Int">3</Property>
<Property Name="Bld_version.build" Type="Int">5</Property>
<Property Name="Bld_version.major" Type="Int">1</Property>
<Property Name="Bld_version.patch" Type="Int">1</Property>
<Property Name="Destination[0].destName" Type="Str">DataGrid.lvlibp</Property>
<Property Name="Destination[0].path" Type="Path">../binaries/NI_AB_PROJECTNAME.lvlibp</Property>
<Property Name="Destination[0].preserveHierarchy" Type="Bool">true</Property>
Expand All @@ -100,7 +101,7 @@
<Property Name="Destination[1].path" Type="Path">../binaries</Property>
<Property Name="DestinationCount" Type="Int">2</Property>
<Property Name="PackedLib_callersAdapt" Type="Bool">true</Property>
<Property Name="Source[0].itemID" Type="Str">{B786EB5A-713B-4E8B-9FAC-539CB8D4D8FD}</Property>
<Property Name="Source[0].itemID" Type="Str">{C2F48347-E221-4DBD-91F7-413D88976DA0}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">0</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/DataGrid.lvlib</Property>
Expand All @@ -110,17 +111,10 @@
<Property Name="Source[1].preventRename" Type="Bool">true</Property>
<Property Name="Source[1].sourceInclusion" Type="Str">TopLevel</Property>
<Property Name="Source[1].type" Type="Str">Library</Property>
<Property Name="Source[2].destinationIndex" Type="Int">0</Property>
<Property Name="Source[2].itemID" Type="Ref"></Property>
<Property Name="Source[2].type" Type="Str">VI</Property>
<Property Name="Source[3].destinationIndex" Type="Int">0</Property>
<Property Name="Source[3].itemID" Type="Ref"></Property>
<Property Name="Source[3].sourceInclusion" Type="Str">Include</Property>
<Property Name="Source[3].type" Type="Str">VI</Property>
<Property Name="SourceCount" Type="Int">4</Property>
<Property Name="SourceCount" Type="Int">2</Property>
<Property Name="TgtF_fileDescription" Type="Str">DataGrid</Property>
<Property Name="TgtF_internalName" Type="Str">DataGrid</Property>
<Property Name="TgtF_legalCopyright" Type="Str">GPL V2.0 Open ource</Property>
<Property Name="TgtF_legalCopyright" Type="Str">Apache 2.0 License</Property>
<Property Name="TgtF_productName" Type="Str">DataGrid</Property>
<Property Name="TgtF_targetfileGUID" Type="Str">{BA287B08-E306-4C72-9AFC-214CAF4FED4A}</Property>
<Property Name="TgtF_targetfileName" Type="Str">DataGrid.lvlibp</Property>
Expand Down
15 changes: 12 additions & 3 deletions source/DataGridView/DataGridView.lvclass

Large diffs are not rendered by default.

Binary file modified source/DataGridView/Initialize.vi
Binary file not shown.
Binary file not shown.
Binary file modified source/DataGridView/Set Data Binding.vi
Binary file not shown.
Binary file modified source/DataGridView/SetCellStyles.vi
Binary file not shown.
Binary file modified source/DataGridView/SetDefaultCellStyles.vi
Binary file not shown.
Binary file modified source/DataGridView/SetupCallBackEvents.vi
Binary file not shown.
Binary file added source/Example Custom Row Cell Types.vi
Binary file not shown.
Binary file removed source/Example Define All Rows.vi
Binary file not shown.
Binary file modified source/Example Simple DataBinding.vi
Binary file not shown.
Binary file modified source/Helper Functions/Easy Grid Setup.vi
Binary file not shown.

0 comments on commit 7b08606

Please sign in to comment.