Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

MS Server refresh data view on external trigger event


  • Please log in to reply
No replies to this topic

#1 JohnSantana

JohnSantana

  •  Avatar image
  • Members
  • 1 posts
  • OFFLINE
  •  
  • Local time:01:44 PM

Posted 25 May 2021 - 08:37 PM

Hi,

I'm new here, so I hope I don't break any rules.

 

I have a website that displays a data table (MS Server) on the client page. I need to be able have a server-selected record focused in the table.

That is, when I make a change to the database on the server, I need to have that displayed (the specific record) on the client. I expect something like an event listener or some such is what is needed, but I have no idea where to start on this or what method would be best.

 

It seems like a simple thing and the sort of thing that would be common, but I can't find the answer. Just one more time to be clear: When I update a record (or provide some other trigger) on the server, I want the user grid to automatically move to that record.

 

And not to be overly-particular :-) it would be best if the solution does not depend on too much fancy dancing and fussy code. I had something like this working at one time, but it's been way too long for me to find my code as to how I did it. I remember there was some code, Javascript maybe, that was called scroll into view, but as I remember, the difficulty I had was getting something to set the value of the row to located and to actually trigger the SQL do update things on the client.

 

Any thoughts? I've spent some nights awake trying to figure it out.

 

Thanks,

JS



BC AdBot (Login to Remove)

 





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users