If you are in a hard water area then you probably will still need to add salt regardless of the detergent you use. There is an article on how the softening system works here
Essentially the detergent (3-in-1’s etc) employs a component known as builders to remove the calcium content from the water, but there’s only so much that can be put in there to do that job and so they will only cope up to a point.