Displaying user input in table form - actionscript-3

I am using flash cs5 with Action script3. The user enters the number of rows and columns into two textinput components and clicks submit button. Then a empty table like structure should be displayed with the user specified number of rows and columns. How can I achieve this?
Thank you.

You will need to Google "Grid Layout with Action Script". You basically will need to create the Grid Layout object and then add child.
There are quite a few references out there.

Related

Hide One Table from the same Component on Angularjs

I have a question please.
I have one component where i declared two tables, and I'm calling this component from another one.
When i call it i want to display just one table and hide the other without any button.
Any help please
Im expecting to display just one table

How to enable onclick button features for all the entries in a table

I have created the device management system. For front end, I have a device table. In the table, the onclick button features are given. When I deactivate a device the delete button and activate button should be enabled. The problem is that this onclick feature doesn't work for all the entries in the table. Only the first device get this feature. How can I add a loop to resolve this problem?enter image description here
You can have custom attributes in HTML 5. So, you can set custom attributes of different buttons with the row ID. Then in the script part, you can use the value of the id field to uniquely identify a button.
For example:
You can set the id's of your rows like <button data-internalid="13"></button>
In the script part, you can use the value of the data-internalid to find the equivalent button to disable after onClick();
I would really encourage you to do that on your own. :)
Reference

What is the name of the control MS-Access creates when generating a form with 1-M?

If you create a form on a table that has 1-M relationship with another table, MS-Access creates the form containing the fields of the "1" side as text boxe, etc. and for the M-Side, a tabular structure is created.
What is the name of the control representing the tabular structure? (it is some kind of a list but it is not like the list you select from the tool box!). This control does not have a click event. Why? It only has ON ENTER and ON LEAVE events, so how to capture the current row?
It is a form within the main form AKA sub-form. Although it appears to be a grid-view (Access call it datasheet view), it isn't. Therefore it does not have row based events. However, the sub-form has all the events like a normal form would.
There are few limitations in this "dataSheetView", no other controls are visible except text boxes. If you need a button, you must have a textbox with click events. Ideally place the textbox as first/last column so you have your action buttons.
Access also has a "ContinuousFormView" which can be decorated like a gridview with all custom controls. Again, they are forms and do not have row based events. Only control based or form based.
The object next to the question mark is a Subform/Subreport Container Control. As its name implies, it is a container that holds other objects which can be a table, query, form, or report. This control is also available for selection from the 'toolbox'.
Best to give the container control a name different from the object it holds, like ctrDocuments.
What do you mean by 'capture' the current row? A row is not referenced, fields and controls are referenced. Several ways to approach referencing fields and controls (if a form or report) of the dependent object. How depends on where you want to run the code. In a query? In the main form events? In the subform events? For example code in Click event of a button on the main form could be like:
strDoc = Me.ctrDocuments.DocPK

MS Access VBA hide or delete row from form but not table

I use a form to edit a table. What I want to do is once a checkbox in the form is ticked or a field is filled out with some text I want to hide / remove this row from the form view but not delete the row from the table itself. Is this possible with VBA?
You don't really need to resort to VBA to accomplish this.
Base the form on a query that filters out those records with the appropriate field filled in. Then when you next call the form those records checked will not appear.
It is good practice to have all forms based on queries (apparently)

Is there any way to focus on a cell of a DataGrid without setting it to editable?

I am currently working on making my Flex application accessible.
I have an mx DataGrid that I am using for showing complex data. Each row contains information about a person and one of the columns contains a button to "submit" that person's information.
Currently if I tab to the DataGrid, it has focus on the whole thing, but I cannot tab to individual cells. For accessibility purposes, I need the user to be able to tab to each of these cells to read the information. Everywhere I've looked I've found that it seems the only way to focus on an individual cell is to set the editable property to true. However, I do not want to make the field editable, as that information should not be changed.
At the very least I would like to be able to tab to the cell that has the button ItemRendender for each person. I could set the rest of the information in the accessibilityName of that.
Is there any way to accomplish this? Or am I going to have to find a more "creative" solution?
In case anyone is wondering how to get around this, the only way I could find is to switch over to an AdvancedDataGrid. If you set the ADG's selectable property to true, you can use the arrow keys to select a whole row at a time, and the screen reader will read the whole row of information.
Then to get the effect of clicking the row's button, I set a keyboard event watcher that performs the function of the button using the target(ADG)'s selected item when you press space.