Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Is it possible to customise the grid view of a subform ?

Questions related to using nuBuilder Forte.
Post Reply
damien
Posts: 30
Joined: Fri May 06, 2022 10:38 pm
Has thanked: 14 times

Is it possible to customise the grid view of a subform ?

Unread post by damien »

Hello,

I fell very stupid because I am not able to customize the content of the grid view of subform into a form.
The subform always display the "raw" columns of the 'table'.
I wonder to display some more usable data into the grid of that table as I do on a usual browse&edit form using the browsing menu with SQL Builder tool.
But it seems that in the subform it is not possible.
It is true, or do I miss some tricks ?

If it is not possible, I have add some "Display" fields to forge the expected data, it could works.
In that case, is it possible to disable the sorting of the grid column when clicking on the column title ?

I notice an other strange things into grid subform, the tab stop pass through the read only fields.
Do you think that i could be override to speedup the inputs of data ?

Thanks,
Damien
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Is it possible to customise the grid view of a subform ?

Unread post by kev1n »

Hi,

The easiest way to add a new column/object to a Subform is to clone an existing one.
add_sf_obj.gif
Disable sorting: onSubformTitleClick()

To remove disabled objects from the tabbing order, place the JavaScript in the form's Custom Code:

Code: Select all

$('[readonly]').attr("tabindex" , -1);
$("*:disabled").attr("tabindex" , -1);

PS: It's better not to ask multiple questions in the same thread, it's hard to follow and it makes it difficult to respond to each question.
You do not have the required permissions to view the files attached to this post.
damien
Posts: 30
Joined: Fri May 06, 2022 10:38 pm
Has thanked: 14 times

Re: Is it possible to customise the grid view of a subform ?

Unread post by damien »

Wonderful, it works perfectly.
I understand why I was not able to find how to do it by my self ;-)
Thanks for your quick and accurate answer and sorry for multiple question into the thread.
Post Reply