Sharing a grid created with dynamic components

I will do a test during the day and update the result.
Thank you

Have a look at below topic, might help


pls test this aia ( Go to Screen2 and test, add cells and see First ROW is fixed where as you can scroll horizontally)

dynamicTable_EF.aia (83.4 KB)

Disable the Set padding part and try,

On Vertical scroll

Each ROW filed with ROW Number

1 Like

It looks very good, I only tested it. I haven’t really looked at the code yet. I’ll do it later. Good job.

1 Like

I have corrected my logic and now it works. Thank you.
I will post an updated version of my test project.
Now I am left with the keyboard problem that I cannot hide, for this problem I will evaluate the use of labels instead of textboxes, but I don’t like this solution.

If you want to hide keyboard then you can use
When any textbox got focus hide the keyboard of the component.

If you hide then how will you type into the textbox?

I had already tried to manage it in gotfocus, but it doesn’t work. Evidently the event showing the keyboard is executed after the gotfocus.

It seems that this request doesn’t make sense, but to me it does.
This table that I am testing, I will have to insert it in a bigger app that I am developing, a mini management software.
I am imprinting it with function keys where the user will often not write text, but will do research, insert a date, numbers, calculated data etc. and when he wants to, he has an “Edit” button underneath that will bring up the keyboard.

Then you could deactivate all Text boxes on Creation and activate them when you click on edit.

I had also tried this, but if it’s disabled, it doesn’t take me the gotFocus event. But I’ll do one more test.

You can activate them again if you enter the edit mode. So you can easy scroll trough and can edit if you found your Value.

I saw your idea. I like her, she’s “nice”, I’ll think about it.
But it does mean creating other components and slowing down the loading of the grid.
I think about it, but thank you @Still-learning @Ded_Sec_00 very much for your support.

Hello everyone, I’m trying not to use textboxes, but labels and only by pressing the edit button, I will replace a textbox in the cell.
I have to solve another problem first:
I want to be able to indicate the row and cell number on which it must position itself, so it must scroll to that position, which the gotFocus event of the textBox works on. How can I manage this event? In the Labels I don’t have gotFocus, I’m trying with Invoke by dynamic component, but without success.

I don’t understand your Problem.
Maybe show us your old blocks or what you tried so far.

I’m trying to use labels instead of textboxes because I then want to insert a single “Edit” button that will replace the selected label with a textbox and I’m going to type with the keyboard.
As long as I shouldn’t have any problems.

I have set the cel and row fields and a “go to” button with which I select the cell and the row concerned.
This works too.

Now I would like that when I ask to select row x and cell y, in addition to selecting it, it makes me scroll either vertically or horizontally.
This happens automatically with the textboxes because it enters the gotFocus event, I would like to be able to manage this also with the Labels.

Use this to get x and y position:

And this extension to scroll to the position:

I didn’t test it.

I am getting good results.
Only extension used Dynamic Component.

Thanks again to @Still-learning @Ded_Sec_00

1 Like

Remember to choose a Answer as Solution so other see that it’s finished.

Good to hear we could help you. :+1:
Keep :kodular:oding

1 Like

An update on what I’ve managed to do for now.

1 Like

Looking Good :ok_hand:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.