Hello guys,
i am trying to create a datatble with user restricted rows and columns. I have a default value column ( its default value for all column values in that row) i have coded this as formula in other columns ... but i am not able to have user input if i have formula ... i need flexibility for user to enter data
n = 10;
rownList = {};
For(i=1, i<=n, i++,
Insert Into(rownList, "Row " || Char(i));
);
dt = New Table("Restricted Row Value Table",
Add Rows(n),
New Column( "Row Number",Character,"Nominal",Set Values(rownList),Color Cells( {77, {0}} ))
);
dt << New Column("Default Row State","Nominal",Color Cells( {-14803425, {0}} ));
For(i=1, i<=n, i++,
dt << New Column("Column " || Char(i),"Nominal",
Formula( If( Is Empty( :Default Row State ), Empty(), :Default Row State ) )
);
);
dt << Set Edit Lock( "Add Rows", "Add Columns", "Delete Columns" );how do i rewite formula such that it allows user input but takes default value if specified ... kindly guide... Thanks in advance