timestored / pulseui

Real-time interactive database applications
https://www.timestored.com/pulse/
Other
78 stars 10 forks source link

client side formatting of column #133

Open ryanhamilton opened 1 year ago

ryanhamilton commented 1 year ago

user-ss Allow user to specify client side formatting function for column. Offered JS and user would have been happy.

ryanhamilton commented 1 year ago

What formatting did they want and would we just add it as option?

jameslittle commented 1 year ago

I would second this request too. In our case we sometimes use "Financial Notation" which is similar to engineering & scientific notation (but slightly different) - e.g. 250,000,000 would be written 250E6. When we convert on the kdb side then we end up with strings, and then alphanumeric sorting.

If we could have the ability to write a JS function that returns what we want as a string, but the table maintains sorting & filtering on the underlying raw values - that would be ideal.