05-21-2007 04:55 PM
05-21-2007 06:10 PM
05-21-2007 06:23 PM
First i inserted Cluster then started to add Array in it.
Lets say,, if i have 25 rows of elements but with different length,
Should i keep adding 1-dimentional array for all 25 rows.
i thought let me create 2 dimentional array of equal length and
whenever i dont need any element just Gray that.
Is there any easier approach ?
05-21-2007 07:22 PM
05-21-2007 07:59 PM
05-22-2007 12:11 PM
05-22-2007 02:00 PM
@praveen2 wrote:
i needed exactly as Picture shown by Mike,but Mike how did you just disable perticular cells in row ??Are the rows made up of separte Single Dimentional arrays ?
As Mike said, place a 1D array of numbers inside a cluster, and make a 1D array of such clusters.
Of course if this is a control, the grey elements on the left are not "disabled" by any definition of the term, they are just outside the current size of the inner 1D array. Any user can just enter a number (even zero) there, thus growing the array accordingly and un-greying the element.
05-22-2007 02:53 PM
Altabenh,
i wish wht you told will work
i Tried with these steps,but doesn't work
1) Inserted Cluster.
2) Inside Cluster,added Array
3) Inside array added Numeric indicator so that i can put some numbers
4) Next,Right click on the above array and "added one more Dimention".
5) Now Drag array to have 5 rows and 5 columns
In First Row i need all elements to be filled complete row.
In Second Row, i need to fill all except last 2 elements in row
Once i start 1st Row every Cell will be grey,and i culd do fill all
but when i come to 2nd row, i should not fill anything in last 2 cells
Once i fill the first element in 2nd row the entire row becomes NON-Grey . How to stop this ?
Attached SnapShot of tried VI .
05-22-2007 03:18 PM - edited 05-22-2007 03:18 PM
Please look closely at Mike picture again.
it is a cluster taht contains a 1-d array of clusters
each cluster contains a 1-d array.
Your attempt fails because 2d arrays must be rectangular (all rows have same number of collums)
Ben
Message Edited by Ben on 05-22-2007 03:19 PM