Showing Status in Gatway for Module Connection

After adding a device in the Ignition Gateway I am taken to a webpage that shows the list of existing device connections and there is a column called “Current Status”. This status field changes dynamically, with AJAX I’m pretty sure, to show the status of a device.

In the module I am developing I would like to provide this same status functionality after adding a connection in my module.

How would I go about doing this?

Thanks

That page is straight custom wicket. It’s not a record action table. I don’t think there is a way to get the record action table to have ajax update, although there should be.

The gateway shows the current DriverState and the sub state here. If you extended from AbstractDriver, the DriverState should show the connection status. For the sub state you can override Driver#getDriverSubState() and return a custom String.

Okay, the webpage that lists database connections doesn’t seem to be using AJAX to display the Status column. Is that using custom wicket too? I’m wondering what might be the best way to display the Status column when using RecordActionTable.

Displaying status using a RecordActionTable is easy. Just create your own ICalculatedField and return it by overriding getCalculatedFields()

The hard part is to make it ajax update. I would skip that for now and wait for us to add that as a feature of RecordActionTable

Thanks Carl. That works!