PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Zereliq

Pages: [1] 2
1
Webster Plus / Re: Event within grid not triggering
« on: November 30, 2022, 02:53:10 AM »
Hey Mike,

I have attached a gif that should show what i am talking about.

Whenever I change the cell content and tab once putting the tab focus from the changing cell to the
Code: [Select]
[link] in the next cell it doesn't keep the focus on set item,
but whenever i change the cell content and tab twice putting the tab focus from the changing cell to a
Code: [Select]
[list] two cells over it does work correctly.

As you can see, The focus does stay on the list item, but doesnt on the link (and or button has the same behaviour)

Thanks again for taking the time to look into this  ;D

2
Webster Plus / Re: Event within grid not triggering
« on: November 29, 2022, 03:10:34 AM »
Hey Mike,

This seems to have changed some things positively, but still seem to have some odd behaviour,
It does now work when focussed on items like listbox and input, but still resets it when shifting focus from the changing grid-item to a button or link.
Maybe that still needs a touchup but other than that better than before!




3
Webster Plus / Re: Event within grid not triggering
« on: November 23, 2022, 03:59:38 AM »
Hey Mike,

Inside a grid; When adding or changing a value for example
Code: [Select]
WRITE ([grid],rec=[obj])
or
%WEBSTER'UPDATE(FIELD$,VALUE$,GRID$,ROW)
will both reset the tabindex back to the first column in the first row instead of staying where its suppost to be.

See the GIF attachment i have recorded what happends in the current situation.


4
Webster Plus / Re: Event within grid not triggering
« on: November 09, 2022, 06:17:03 AM »
running PxPlus 2022 (Version 19.10), as far as i know latest version (we updated when you released the webster updates)

5
Webster Plus / Re: Event within grid not triggering
« on: November 08, 2022, 05:46:58 AM »
Hi Mike,

Sorry for the long awaited respons, I have gotten the listboxes to trigger events so that works fine now
although I have gotten repeated errors on trying to download the library locally so i decided to keep that globally.

May I make one more suggestion when it comes to grids in Webster+:
Whenever you edit/ update or remove a row it will reset the tabindex, therefor making it sometimes a bit annoying to work in a grid structure.
Now I have checked to fix this with some .JS but sadly without succes, maybe this would be a nice touch in the default webster.js

Thanks again  ;) ;D

6
Webster Plus / Re: Event within grid not triggering
« on: October 25, 2022, 11:21:31 AM »
Hey Mike,

Thanks for the suggestion I resolved some issues with our licensekey and checked for updates (updates which returned we're running on the latest version) inside pxplus.exe, however after having done that it seems that i can not update the library nor get the library on a fresh installation. It seems to stop after having some files added in the docroot > lib folder (see attachment two) and after a long while gives me a error #3 (see attachment one)

7
Webster Plus / Re: Event within grid not triggering
« on: October 25, 2022, 08:30:16 AM »
Hey Mike,

First of all thanks for taking the time to look into this bug/issue, but sadly after updating my local libraries and using ctrl+f5 on the page with the issue i still get the same problem.  After triggering an event with a listbox it doesnt trigger any other listbox events after. (only after a refresh or trigger from another element will it work again)

Would love to hear your suggestions  ;D

8
Webster Plus / Event within grid not triggering
« on: October 17, 2022, 09:19:34 AM »
I have a grid with multiple listboxes, the listboxes all look as followed:

[list project_code$ (_lock$) event=uren.pxp@update_col][data rowsep=/ valsep=: text=(project_tbl$)][/list]

they all have the same event so uren/pxp@update_col
but whenever i triggered one of the events, the other listboxes will not trigger the events anymore onchange.
(page starts loading on first change in listbox, doesnt load on change second time onchange listbox this include changing the same listbox twice doesnt work the second time)

Is there a different way of triggering these events onchange for a listbox?

9
Webster Plus / Re: Row based Column locking / disabling
« on: September 14, 2022, 05:50:44 AM »
so i think i already know the awnser to this question but its worth asking;

is it possible to change/update a variable like the "locked" after the write?

so for example im trying to change background-colors of cells based on changed made in other cells
or changing locks also based on changes made in other cells.

project_bg$="red"
[class=(project_bg$)]



10
Webster Plus / Re: Row based Column locking / disabling
« on: September 13, 2022, 09:42:58 AM »
seeing how recently Safari has implemented the :has() function i don't think it will take long for Firefox to do the same,
but since we're using the project mostly internally i dont think we'll run into that obstacle nevertheless i will definitly keep it in mind when using it in future webster+ projects  ;)

11
Webster Plus / Re: Row based Column locking / disabling
« on: September 12, 2022, 04:39:05 AM »
Hey Mike,

This seems to work nicely thanks a lot!

also added some extra css to make other items appear locked too:
Code: [Select]
div.dynalock ._td:has(input[readonly]), div.dynalock ._td:has(input[data-lock="Y"]) {
 background-color: var(--clrbck-locked) !important;
}

12
Webster Plus / Re: Row based Column locking / disabling
« on: September 07, 2022, 08:17:02 AM »
After a lot of playing around and also letting some college's with a lot more PxPlus experience try to get it to work we still have not been able to lock rows/fields based on a variable. What it seems to do is eigther lock all or unlock none.

We were able to determine that if you make a button that switches the state of the variable it changes all fields/rows that have the variable included. so sadly still have not found the solution to this question, any suggestions?

13
Webster Plus / Re: update dropdown [list] inside grid
« on: August 23, 2022, 10:24:42 AM »
Hi Mike,

Thanks for the great suggestions, my college also helped out a bit and we ended up finding a sollution.
When it comes to the amount of data working with, we dont expect a lot more than 10 maybe 15 rows at
one point loaded on the page, therefor dont think it matters how many lists we're using on set page.


14
Webster Plus / Row based Column locking / disabling
« on: August 23, 2022, 10:21:22 AM »
Fairly simple question:
Is it possible to make some rows locked and others open see images for example :D
And if it is possible, would this be possible with an [if] block based on the row number


15
Webster Plus / Re: update dropdown [list] inside grid
« on: August 17, 2022, 03:51:01 AM »
I might be doing something wrong so here's the code I'm using and what it returns:

Code: [Select]
col Source=project_code$ ttl="project" width=30 nosort][list project_code$][data rowsep=/ valsep=: text=(project_tbl$)][/list][/col]
Code: [Select]
%WEBSTER'BIND'RELOAD("project_code$")shows the following in console: ** Could not set: project_code$ == '<select id='**UPD**' name='project_code$'></select>' **

if I do a %WEBSTER'BIND'RELOAD on the name displayed in the live html code, (grid_eiguurf1-1-project_code$) then it doesnt return anything in console
so still only updates in the background.


Pages: [1] 2